forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbe71615
committed
Add a WAIT option to DROP_REPLICATION_SLOT
Commit9915de6 changed the default behavior ofDROP_REPLICATION_SLOT so that it would wait until any session holdingthe slot active would release it, instead of raising an error. Butusers are already depending on the original behavior, so revert to it bydefault and add a WAIT option to invoke the new behavior.Per complaint from Simone Gotti, inDiscussion:https://postgr.es/m/CAEvsy6Wgdf90O6pUvg2wSVXL2omH5OPC-38OD4Zzgk-FXavj3Q@mail.gmail.com1 parentabe85ef commitbe71615
File tree
8 files changed
+30
-7
lines changed- doc/src/sgml
- src
- backend
- commands
- replication
- include/nodes
8 files changed
+30
-7
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
303 | 303 |
| |
304 | 304 |
| |
305 | 305 |
| |
306 |
| - | |
| 306 | + | |
307 | 307 |
| |
308 | 308 |
| |
309 | 309 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2173 | 2173 |
| |
2174 | 2174 |
| |
2175 | 2175 |
| |
2176 |
| - | |
| 2176 | + | |
| 2177 | + | |
2177 | 2178 |
| |
2178 | 2179 |
| |
2179 | 2180 |
| |
2180 | 2181 |
| |
2181 |
| - | |
2182 |
| - | |
| 2182 | + | |
2183 | 2183 |
| |
2184 | 2184 |
| |
2185 | 2185 |
| |
| |||
2192 | 2192 |
| |
2193 | 2193 |
| |
2194 | 2194 |
| |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
2195 | 2206 |
| |
2196 | 2207 |
| |
2197 | 2208 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
959 | 959 |
| |
960 | 960 |
| |
961 | 961 |
| |
962 |
| - | |
| 962 | + | |
963 | 963 |
| |
964 | 964 |
| |
965 | 965 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
| 75 | + | |
75 | 76 |
| |
76 | 77 |
| |
77 | 78 |
| |
| |||
272 | 273 |
| |
273 | 274 |
| |
274 | 275 |
| |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
275 | 285 |
| |
276 | 286 |
| |
277 | 287 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
| 106 | + | |
106 | 107 |
| |
107 | 108 |
| |
108 | 109 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
174 |
| - | |
| 174 | + | |
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1028 | 1028 |
| |
1029 | 1029 |
| |
1030 | 1030 |
| |
1031 |
| - | |
| 1031 | + | |
1032 | 1032 |
| |
1033 | 1033 |
| |
1034 | 1034 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
| 71 | + | |
71 | 72 |
| |
72 | 73 |
| |
73 | 74 |
| |
|
0 commit comments
Comments
(0)