Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9c4f519

Browse files
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.fi
1 parent1b2b19f commit9c4f519

File tree

5 files changed

+481
-105
lines changed

5 files changed

+481
-105
lines changed

‎doc/src/sgml/ref/pg_rewind.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ PostgreSQL documentation
173173
with a role having sufficient permissions to execute the functions
174174
used by <application>pg_rewind</application> on the source server
175175
(see Notes section for details) or a superuser role. This option
176-
requires the source server to be running andnot in recovery mode.
176+
requires the source server to be running andaccepting connections.
177177
</para>
178178
</listitem>
179179
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp