git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 9b15b14) | patch
Fix psql's \copy command to ensure that it cycles libpq back to the idle state
2006年11月24日 23:06:50 +0000 (23:06 +0000)
2006年11月24日 23:06:50 +0000 (23:06 +0000)
commit df3a6fe477bcb82c76276a1b38714a225cc2cbff
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.
src/bin/psql/copy.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /