Adjust libpq to avoid deadlock when both client and server want to send
Tom Lane <tgl@sss.pgh.pa.us>
Adjust libpq to avoid deadlock when both client and server want to send data, and both have filled the transmission buffers. One scenario where this can happen was illustrated here: http://archives.postgresql.org/pgsql-hackers/2003-04/msg00979.php
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-exec.c | modified | +12 −1 |
| src/interfaces/libpq/fe-misc.c | modified | +19 −2 |