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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d85096ce12965d5b642d524b3b930caa0e932dec
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-01-14T18:46:49Z
Releases: 7.4.20
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.

Files

PathChange+/−
doc/src/sgml/protocol.sgml modified +11 −4
src/interfaces/libpq/fe-protocol3.c modified +92 −44