diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-07-29 15:57:16 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-07-29 15:57:16 +0000 |
commit | 2a88963536297c4227d5f400a3c44a1f6b98c503 (patch) | |
tree | 0296a343d4b7e1ff52f9ff8dd8f5a7201ae14a0e /src/backend/access/gist/gistxlog.c | |
parent | 3a261300b4490b7ddef656565916b93cfc3e13bd (diff) | |
download | postgresql-2a88963536297c4227d5f400a3c44a1f6b98c503.tar.gz postgresql-2a88963536297c4227d5f400a3c44a1f6b98c503.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/gistxlog.c')
0 files changed, 0 insertions, 0 deletions