]> granicus.if.org Git - postgresql/commit
Adjust libpq to avoid deadlock when both client and server want to send
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 19 Oct 2003 21:36:41 +0000 (21:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 19 Oct 2003 21:36:41 +0000 (21:36 +0000)
commit9dfdbef345390124eaf993f6289e8ae796aa6918
tree43791a5127da2fb3b166131ae1868ab662ba8cfe
parentd5353acbc37e8043172855f8c148c96ae1694e61
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
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/fe-misc.c