summaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane2009-07-29 15:57:11 +0000
committerTom Lane2009-07-29 15:57:11 +0000
commit2ffae8405d8d2578af0625350c46bf4919455452 (patch)
tree0e1a1a029fa3c5fa71128c963cb25784217ddd91 /src/backend/tcop/postgres.c
parent3ecd52edf64995b40f8069f9d480fe1a7e563472 (diff)
Fix a thinko introduced into CountActiveBackends by a recent patch:
we should ignore NULL array entries, not non-NULL ones. This had the effect of disabling commit_delay, and could have caused a crash in the rare race condition the patch was intended to fix. Bug report and diagnosis by Jeff Janes, in bug #4952.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions