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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Wed, 29 Jul 2009 11:16:51 -0400
  • Message-id: <18714.1248880611@sss.pgh.pa.us> <text/plain>

"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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group