aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-11-14 15:57:51 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2010-11-14 15:57:51 -0500
commit6318fa0fdb1ad22b489f1f9f8018ffa70e2e724c (patch)
tree9d741c878607663f2368e9c0cdab3482212b4713 /src/backend/access/gist/gist.c
parent876cb81a119230525b8f3c0c4c77fc0c44f54d1c (diff)
downloadpostgresql-6318fa0fdb1ad22b489f1f9f8018ffa70e2e724c.tar.gz
postgresql-6318fa0fdb1ad22b489f1f9f8018ffa70e2e724c.zip
Fix canAcceptConnections() bugs introduced by replication-related patches.
We must not return any "okay to proceed" result code without having checked for too many children, else we might fail later on when trying to add the new child to one of the per-child state arrays. It's not clear whether this oversight explains Stefan Kaltenbrunner's recent report, but it could certainly produce a similar symptom. Back-patch to 8.4; the logic was not broken before that.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions