diff options
Diffstat (limited to 'doc/src/sgml/protocol.sgml')
-rw-r--r-- | doc/src/sgml/protocol.sgml | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index 529baa1f31..52d2a60c3b 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -1,4 +1,4 @@ -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/protocol.sgml,v 1.28 2003/04/19 00:02:29 tgl Exp $ --> +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/protocol.sgml,v 1.29 2003/04/22 00:08:06 tgl Exp $ --> <chapter id="protocol"> <title>Frontend/Backend Protocol</title> @@ -3691,7 +3691,8 @@ Terminate (F) <para> This section describes the fields that may appear in ErrorResponse and NoticeResponse messages. Each field type has a single-byte identification -token. +token. Note that any given field type should appear at most once per +message. </para> <VariableList> @@ -3863,7 +3864,29 @@ PasswordMessage now has a type byte. <para> COPY data is now encapsulated into CopyData and CopyDone messages. There -is a well-defined way to recover from errors during COPY. +is a well-defined way to recover from errors during COPY. The special +<quote><literal>\.</></quote> last line is not needed anymore, and is not sent +during COPY OUT. +(It is still recognized as a terminator during COPY IN, but its use is +deprecated and will eventually be removed.) Binary COPY is supported. +The CopyInResponse and CopyOutResponse messages carry a field indicating +whether the COPY operation is text or binary. +</para> + +<para> +The CursorResponse ('<literal>P</>') message is no longer generated by +the backend. +</para> + +<para> +The NotificationResponse ('<literal>A</>') message has an additional string +field, which is presently empty but may someday carry additional data passed +from the NOTIFY event sender. +</para> + +<para> +The EmptyQueryResponse ('<literal>I</>') message used to include an empty +string parameter; this has been removed. </para> <note> |