diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-07-29 15:57:11 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-07-29 15:57:11 +0000 |
commit | 850490579318ff52097eec92ce535357dd0c7a3a (patch) | |
tree | 95a850ab23d344cd9dbfa050809da3ac303f3ebc /src/include | |
parent | 49475aab8d0da9077a5828d404ba1e15c3e093c2 (diff) | |
download | postgresql-850490579318ff52097eec92ce535357dd0c7a3a.tar.gz |
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/include')
0 files changed, 0 insertions, 0 deletions