Re: more signals (was: Function to kill backend) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: more signals (was: Function to kill backend)
Date
Msg-id 200407291701.i6TH1kB14639@candle.pha.pa.us
Whole thread Raw
In response to Re: more signals (was: Function to kill backend)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> > ftok() on pg_control or something in the clusters data directory was my
> > intention. (Again, just one message queue)
> 
> Doesn't work; you have to be able to cope with collisions with
> previously existing queue IDs ... so in practice the queue ID has to
> be treated as quasi-random.  See the semaphore ID selection logic
> we use now.
> 
> I tend to agree with Bruce's nearby comment that we shouldn't be trying
> to solve this now.  I'd vote for commenting out the session-kill
> function for 7.5, and revisiting the issue sometime in future.

I already have it on the TODO list.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: more signals (was: Function to kill backend)
Next
From: Bruce Momjian
Date:
Subject: Re: Point in Time Recovery