aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-07-29 15:57:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-07-29 15:57:33 +0000
commitaea7affde737d70da5cf0ffbc0c11bea323b81f4 (patch)
treefc5ef2713b086ae4791e0a4350c795d3e6fdc7cb /src/backend/access/gist/gistvacuum.c
parenta142498e76a74b64ea03b13809db96c7c5e6f62e (diff)
downloadpostgresql-aea7affde737d70da5cf0ffbc0c11bea323b81f4.tar.gz
postgresql-aea7affde737d70da5cf0ffbc0c11bea323b81f4.zip
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/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions