aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.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:26:39 +0200
commita5a02a744555789ab8390dbf57271e9d07127602 (patch)
treec96828139248a54dde6de4d446071b1d3d40f783 /src/backend/utils/adt/arrayfuncs.c
parentc667cc24e888dc4efe4c2412ad8dd13a190295e3 (diff)
downloadpostgresql-a5a02a744555789ab8390dbf57271e9d07127602.tar.gz
postgresql-a5a02a744555789ab8390dbf57271e9d07127602.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/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions