From 783e816666c7e70bc79c10aa14dd3d56c61dd483 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 1 Nov 2023 13:57:04 -0400 Subject: [PATCH] doc: add reference to wire protocol details Discussion: https://postgr.es/m/143A51B2-80B1-4ECD-AF67-F7061377FF63@hotmail.com Author: Li Japin Backpatch-through: master --- doc/src/sgml/protocol.sgml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index 3f854000f41..af3f016f746 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -2222,8 +2222,10 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;" - WAL data is sent as a series of CopyData messages. (This allows - other information to be intermixed; in particular the server can send + WAL data is sent as a series of CopyData messages; + see and for details. + (This allows other information to be intermixed; in particular the server can send an ErrorResponse message if it encounters a failure after beginning to stream.) The payload of each CopyData message from server to the client contains a message of one of the following formats: