aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-08-07 20:16:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-08-07 20:16:49 +0000
commit6119329e236abc51f7da6e3f12a08e0b1448bade (patch)
tree4d9942bbfdc2ba83a49129ede8e22a6066521ac8 /src/backend/access/gist/gist.c
parent34f662dd65141990508ecb9e482cc4c9db50db4f (diff)
downloadpostgresql-6119329e236abc51f7da6e3f12a08e0b1448bade.tar.gz
postgresql-6119329e236abc51f7da6e3f12a08e0b1448bade.zip
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.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions