Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group