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

Commita32d983

Browse files
committed
Documenation fixups for replication protocol.
There is no CopyResponse message; it should be CopyOutResponse.Also, if there is no WAL to stream, the server does not immediatelysend a CommandComplete; it's a historical timeline, so it will send aresponse tuple first.Discussion:https://postgr.es/m/0a2c985ebcaa1acd385350aeba561b6509187394.camel@j-davis.com
1 parentf713ff7 commita32d983

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎doc/src/sgml/protocol.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2065,8 +2065,8 @@ The commands accepted in replication mode are:
20652065
the history of the server, the server will stream all the WAL on that
20662066
timeline starting from the requested start point up to the point where
20672067
the server switched to another timeline. If the client requests
2068-
streaming at exactly the end of an old timeline, the serverresponds
2069-
immediately with CommandComplete without entering COPYmode.
2068+
streaming at exactly the end of an old timeline, the serverskips COPY
2069+
mode entirely.
20702070
</para>
20712071

20722072
<para>
@@ -2638,7 +2638,7 @@ The commands accepted in replication mode are:
26382638
</para>
26392639
<para>
26402640
When the backup is started, the server will first send two
2641-
ordinary result sets, followed by one or moreCopyResponse
2641+
ordinary result sets, followed by one or moreCopyOutResponse
26422642
results.
26432643
</para>
26442644
<para>
@@ -2681,15 +2681,15 @@ The commands accepted in replication mode are:
26812681
</variablelist>
26822682
</para>
26832683
<para>
2684-
After the second regular result set, one or moreCopyResponse results
2684+
After the second regular result set, one or moreCopyOutResponse results
26852685
will be sent, one for the main data directory and one for each additional tablespace other
26862686
than <literal>pg_default</literal> and <literal>pg_global</literal>. The data in
2687-
theCopyResponse results will be a tar format (following the
2687+
theCopyOutResponse results will be a tar format (following the
26882688
<quote>ustar interchange format</quote> specified in the POSIX 1003.1-2008
26892689
standard) dump of the tablespace contents, except that the two trailing
26902690
blocks of zeroes specified in the standard are omitted.
26912691
After the tar data is complete, and if a backup manifest was requested,
2692-
anotherCopyResponse result is sent, containing the manifest data for the
2692+
anotherCopyOutResponse result is sent, containing the manifest data for the
26932693
current base backup. In any case, a final ordinary result set will be
26942694
sent, containing the WAL end position of the backup, in the same format as
26952695
the start position.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp