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: pgkill


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: James Mansion <james(at)mansionfamily(dot)plus(dot)com>
  • Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
  • Subject: Re: pgkill
  • Date: Mon, 31 Mar 2008 16:02:03 -0400
  • Message-id: <19521.1206993723@sss.pgh.pa.us> <text/plain>

James Mansion <james(at)mansionfamily(dot)plus(dot)com> writes:
> I was looking at the notify processing in async.c and I noticed that 
> kill is called whether or not the
> process has been signalled already, and whether or not 'this' process 
> has signalled the process.

> It seems unecessary to me -

It's not that easy to be sure of either of those conditions.

The notify code needs to be dumped and rewritten from scratch
--- I see little point in marginal optimizations, and none at
all in doing anything while the pg_listener table is still used
as communication mechanism.

			regards, tom lane


  • References:

Home | Main Index | Thread Index

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