diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-11-24 23:06:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-11-24 23:06:50 +0000 |
commit | df3a6fe477bcb82c76276a1b38714a225cc2cbff (patch) | |
tree | bcac88e71159c9f9d0a542552c3b8ba05036d27c /src/backend/utils/adt/ascii.c | |
parent | 9b15b1401482f4354dd0205c607edddb48950ad0 (diff) | |
download | postgresql-df3a6fe477bcb82c76276a1b38714a225cc2cbff.tar.gz postgresql-df3a6fe477bcb82c76276a1b38714a225cc2cbff.zip |
Fix psql's \copy command to ensure that it cycles libpq back to the idle state
(in particular, causing the ReadyForQuery message to be eaten) before
returning from do_copy. The only known consequence of failing to do so is
that get_prompt might show a wrong result for the %x transaction status
escape, as reported by Bernd Helmle; but it's possible there are other issues.
Back-patch as far as 7.4, the oldest version supporting %x.
Diffstat (limited to 'src/backend/utils/adt/ascii.c')
0 files changed, 0 insertions, 0 deletions