diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-11-24 23:06:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-11-24 23:06:56 +0000 |
commit | 2f523a6f53e5929b8b72df620a16e3981488eac0 (patch) | |
tree | 938be63b9f1f8ce25fe85eca813a8548c6464856 /src/backend/utils/adt/regexp.c | |
parent | 35f9bf3725c164fa302e748f6b063dafce3c4027 (diff) | |
download | postgresql-2f523a6f53e5929b8b72df620a16e3981488eac0.tar.gz postgresql-2f523a6f53e5929b8b72df620a16e3981488eac0.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/regexp.c')
0 files changed, 0 insertions, 0 deletions