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.
copy.c (r184.108.40.206 -> r220.127.116.11)
pgsql-committers by date
|Next:||From: Peter Eisentraut||Date: 2009-08-07 20:50:22|
|Subject: pgsql: Expand test coverage support to entire tree Test coverage |
|Previous:||From: Tom Lane||Date: 2009-08-07 20:16:41|
|Subject: pgsql: Try to defend against the possibility that libpq is still in |