postgresql/src/bin/psql
Tom Lane d9a00ebbba Try to defend against the possibility that libpq is still in COPY_IN state
when we reach the post-COPY "pump it dry" error recovery code that was added
2006-11-24.  Per a report from Neil Best, there is at least one code path
in which this occurs, leading to an infinite loop in code that's supposed
to be making it more robust not less so.  A reasonable response seems to be
to call PQputCopyEnd() again, so let's try that.

Back-patch to all versions that contain the cleanup loop.
2009-08-07 20:16:22 +00:00
..
po Translation updates 2009-01-29 22:07:53 +00:00
.cvsignore Re-implement psql's input scanning to use a flex-generated lexer, as per 2004-02-19 19:40:09 +00:00
command.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
command.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
common.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
common.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
copy.c Try to defend against the possibility that libpq is still in COPY_IN state 2009-08-07 20:16:22 +00:00
copy.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
create_help.pl Fix psql \h output for case of no parameters (ie, list all the known commands) 2008-01-20 21:13:55 +00:00
describe.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
describe.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
help.c Include \password in the psql help. 2008-03-26 15:52:36 +00:00
help.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
input.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
input.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
large_obj.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
large_obj.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
mainloop.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
mainloop.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
Makefile Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
mbprint.c Make 8.3.x psql print tab characters as an appropriate number of spaces, 2008-05-29 19:34:44 +00:00
mbprint.h Make 8.3.x psql print tab characters as an appropriate number of spaces, 2008-05-29 19:34:44 +00:00
nls.mk New translations 2004-12-13 16:30:53 +00:00
print.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
print.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
prompt.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
prompt.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
psqlrc.sample Fix filename mention in psqlrc.sample file. 2004-04-22 14:33:49 +00:00
psqlscan.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
psqlscan.l Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
settings.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
startup.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
stringutils.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
stringutils.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tab-complete.c Fix tab completion of ANALYZE VERBOSE <tab>. It was previously confused 2009-03-27 14:58:54 +00:00
tab-complete.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
variables.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
variables.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00