pgsql: Fix an ancient oversight in libpq's handling of V3-protocol COPY

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix an ancient oversight in libpq's handling of V3-protocol COPY
Date: 2008-01-14 18:46:17
Message-ID: 20080114184617.64C18754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Log Message:
-----------
Fix an ancient oversight in libpq's handling of V3-protocol COPY OUT mode:
we need to be able to swallow NOTICE messages, and potentially also
ParameterStatus messages (although the latter would be a bit weird),
without exiting COPY OUT state. Fix it, and adjust the protocol documentation
to emphasize the need for this. Per off-list report from Alexander Galler.

Modified Files:
--------------
pgsql/doc/src/sgml:
protocol.sgml (r1.70 -> r1.71)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/protocol.sgml?r1=1.70&r2=1.71)
pgsql/src/interfaces/libpq:
fe-protocol3.c (r1.31 -> r1.32)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-protocol3.c?r1=1.31&r2=1.32)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-01-14 18:46:25 pgsql: Fix an ancient oversight in libpq's handling of V3-protocol COPY
Previous Message User Kostas 2008-01-14 17:17:08 press - pr:

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-01-14 19:31:04 Re: scan.l: check_escape_warning()
Previous Message Hannes Dorbath 2008-01-14 17:59:45 Re: Index trouble with 8.3b4