Repair bug that would allow libpq to think a command had succeeded when

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 09a893117a9fe0ae5e7e5c6a6a5496e9e6826f4c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-09-26T00:26:28Z
Releases: 8.0.0
Repair bug that would allow libpq to think a command had succeeded when
it really hadn't, due to double output of previous command's response.
Fix prevents recursive entry to libpq routines.  Found by Jan Wieck.

Files

PathChange+/−
src/backend/libpq/pqcomm.c modified +87 −19
src/backend/tcop/postgres.c modified +4 −1
src/include/libpq/libpq.h modified +2 −1