summaryrefslogtreecommitdiff
path: root/src/backend/access
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-11-14 15:57:42 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2010-11-14 15:57:42 -0500
commitc350b01e2f72249ce6bcb642e0ee6730838b0cfe (patch)
tree046e56598fff74e4879188952d127fcaaeb4ffab /src/backend/access
parent9f65a874ebf86291ca1f7920f74f6c9d6d20a213 (diff)
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')
0 files changed, 0 insertions, 0 deletions