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

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

Commit: c86cc37f62548d5f88d4657a1094b259a38c471d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-09-26T00:26:56Z
Releases: 7.4.6
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 +5 −2
src/include/libpq/libpq.h modified +2 −1