Re: BUG #4952: commit_delay ignored because CountActiveBackends always returns zero - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4952: commit_delay ignored because CountActiveBackends always returns zero
Date
Msg-id 18714.1248880611@sss.pgh.pa.us
Whole thread Raw
In response to BUG #4952: commit_delay ignored because CountActiveBackends always returns zero  ("Jeff Janes" <jeff.janes@gmail.com>)
List pgsql-bugs
"Jeff Janes" <jeff.janes@gmail.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

pgsql-bugs by date:

Previous
From: "Axel Fix"
Date:
Subject: BUG #4954: very slow query with 2 statements
Next
From: Mikael Krantz
Date:
Subject: Re: BUG #4954: very slow query with 2 statements