forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9c4f519
committed
Allow pg_rewind to use a standby server as the source system.
Using a hot standby server as the source has not been possible, becausepg_rewind creates a temporary table in the source system, to hold thelist of file ranges that need to be fetched. Refactor it to queue up thefile fetch requests in pg_rewind's memory, so that the temporary tableis no longer needed.Also update the logic to compute 'minRecoveryPoint' correctly, when thesource is a standby server.Reviewed-by: Kyotaro Horiguchi, Soumyadeep ChakrabortyDiscussion:https://www.postgresql.org/message-id/0c5b3783-af52-3ee5-f8fa-6e794061f70d%40iki.fi1 parent1b2b19f commit9c4f519
File tree
5 files changed
+481
-105
lines changed- doc/src/sgml/ref
- src/bin/pg_rewind
- t
5 files changed
+481
-105
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
176 |
| - | |
| 176 | + | |
177 | 177 |
| |
178 | 178 |
| |
179 | 179 |
| |
|
0 commit comments
Comments
(0)