aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-08-13 18:56:21 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-08-13 18:56:21 +0000
commitc01641f8aed00642163b7eb8748a297668a990de (patch)
tree8cc98b812370e21206b926fded6446b11c06e16d /src/tutorial/basics.source
parent0be731ad4441bcb8d2aea809c08c37a4a5d831ce (diff)
downloadpostgresql-c01641f8aed00642163b7eb8748a297668a990de.tar.gz
postgresql-c01641f8aed00642163b7eb8748a297668a990de.zip
libpq failed to cope with COPY FROM STDIN if the command was issued
via extended query protocol, because it sends Sync right after Execute without realizing that the command to be executed is COPY. There seems to be no reasonable way for it to realize that, either, so the best fix seems to be to make the backend ignore Sync during copy-in mode. Bit of a wart on the protocol, but little alternative. Also, libpq must send another Sync after terminating the COPY, if the command was issued via Execute.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions