aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpython.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-01-13 17:51:28 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-01-13 18:00:37 +0200
commita08363d70cb51f361c9525384e9f46a252fcd92e (patch)
tree2c67c06551c47e313494019d5db65c197304d895 /src/pl/plpython/plpython.c
parentfed8dcdb84d255088d22efa3156a193f3399e792 (diff)
downloadpostgresql-a08363d70cb51f361c9525384e9f46a252fcd92e.tar.gz
postgresql-a08363d70cb51f361c9525384e9f46a252fcd92e.zip
Fix the logic in libpqrcv_receive() to determine if there's any incoming data
that can be read without blocking. It used to conclude that there isn't, even though there was data in the socket receive buffer. That lead walreceiver to flush the WAL after every received chunk, potentially causing big performance issues. Backpatch to 9.0, because the performance impact can be very significant.
Diffstat (limited to 'src/pl/plpython/plpython.c')
0 files changed, 0 insertions, 0 deletions