Adding a note to protocol.sgml regarding CopyData

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Adding a note to protocol.sgml regarding CopyData
Date: 2018-07-29 23:07:48
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

In libpq.sgml following is stated:

Before <productname>PostgreSQL</productname> protocol 3.0, it was necessary
for the application to explicitly send the two characters
<literal>\.</literal> as a final line to indicate to the server that it had
finished sending <command>COPY</command> data. While this still works, it is deprecated and the
special meaning of <literal>\.</literal> can be expected to be removed in a
future release. It is sufficient to call <function>PQendcopy</function> after
having sent the actual data.

I think this should be mentioned in protocol.sgml as well. Developers
who wish to develop programs that understand frontend/backend protocol
should be able to focus on protocol.sgml. Attached is a patch for

Best regards,
Tatsuo Ishii
SRA OSS, Inc. Japan

Attachment Content-Type Size
protocol.diff text/x-patch 1.0 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2018-07-30 00:11:51 Re: Would like to help with documentation for Postgres 11
Previous Message Thomas Munro 2018-07-29 22:58:39 Re: Covering GiST indexes