Repair bug that would allow libpq to think a command had succeeded when
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/pqcomm.c | modified | +87 −19 |
| src/backend/tcop/postgres.c | modified | +5 −2 |
| src/include/libpq/libpq.h | modified | +2 −1 |