Commit 334f512
committed
Add option to specify timeout seconds to BackgroundPsql.pm.
Previously, a background psql session uses the default timeout and it
cannot be overridden. This change adds a new option to set the timeout
during start.
There are no users of this new option. It is needed for an upcoming
patch adding tests for XID wraparound.
Reviewed-by: Daniel Gustafsson, Noah Misch
Discussion: https://postgr.es/m/C9CF2F76-0D81-4C9D-9832-202BE8517056%40yesql.se1 parent a182756 commit 334f512
2 files changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2028 | 2028 | | |
2029 | 2029 | | |
2030 | 2030 | | |
2031 | | - | |
2032 | | - | |
2033 | 2031 | | |
2034 | 2032 | | |
2035 | 2033 | | |
| |||
2047 | 2045 | | |
2048 | 2046 | | |
2049 | 2047 | | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
2050 | 2053 | | |
2051 | 2054 | | |
2052 | 2055 | | |
| |||
2068 | 2071 | | |
2069 | 2072 | | |
2070 | 2073 | | |
| 2074 | + | |
2071 | 2075 | | |
2072 | 2076 | | |
2073 | 2077 | | |
| |||
2079 | 2083 | | |
2080 | 2084 | | |
2081 | 2085 | | |
| 2086 | + | |
2082 | 2087 | | |
2083 | 2088 | | |
2084 | 2089 | | |
2085 | 2090 | | |
2086 | 2091 | | |
2087 | | - | |
| 2092 | + | |
2088 | 2093 | | |
2089 | 2094 | | |
2090 | 2095 | | |
| |||
0 commit comments