Re: pgkill - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgkill
Date
Msg-id 19521.1206993723@sss.pgh.pa.us
Whole thread Raw
In response to pgkill  (James Mansion <james@mansionfamily.plus.com>)
List pgsql-hackers
James Mansion <james@mansionfamily.plus.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


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: actualized SQL/PSM patch
Next
From: Magnus Hagander
Date:
Subject: Re: POSIX shared memory support