forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit504c717
committed
Fix bug in handling of connections that pg_receivexlog creates.
Previously pg_receivexlog created new connection for WAL streamingeven though another connection which had been established to createor delete the replication slot was being left. This caused the unusedconnection to be left uselessly until pg_receivexlog exited.This bug was introduced by the commitd9f38c7.This patch changes pg_receivexlog so that the connection forthe replication slot is reused for WAL streaming.Andres Freund, slightly modified by me, reviewed by Michael Paquier1 parent5c38a1d commit504c717
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
293 | 293 |
| |
294 | 294 |
| |
295 | 295 |
| |
296 |
| - | |
| 296 | + | |
| 297 | + | |
297 | 298 |
| |
298 | 299 |
| |
299 | 300 |
| |
| |||
345 | 346 |
| |
346 | 347 |
| |
347 | 348 |
| |
| 349 | + | |
348 | 350 |
| |
349 | 351 |
| |
350 | 352 |
| |
| |||
591 | 593 |
| |
592 | 594 |
| |
593 | 595 |
| |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
594 | 601 |
| |
595 | 602 |
| |
596 | 603 |
| |
|
0 commit comments
Comments
(0)