Re: BUG #4952: commit_delay ignored because CountActiveBackends always returns zero

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jeff Janes" <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Subject: Re: BUG #4952: commit_delay ignored because CountActiveBackends always returns zero
Date: 2009-07-29 15:16:51
Message-ID: 18714.1248880611@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Jeff Janes" <jeff(dot)janes(at)gmail(dot)com> writes:
> This seems to be a bug introduced by:
> http://archives.postgresql.org/pgsql-committers/2009-03/msg00259.php

> I believe the source of the bug is the addition to that file of

> + if (proc != NULL)
> + continue;

> The sense of this test should be inverted, as it is NULLs, not non-nulls
> that need to be skipped.

Ooops, how embarrassing. Will fix, thanks for the report!

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Mikael Krantz 2009-07-29 15:20:15 Re: BUG #4954: very slow query with 2 statements
Previous Message Greg Stark 2009-07-29 12:28:21 Re: BUG #4949: NOT IN is prohibitive slower than the rewrite for medium to large sets