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

notify with payload (pgkill, notify)

From: James Mansion <james(at)mansionfamily(dot)plus(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: notify with payload (pgkill, notify)
Date: 2008-04-02 06:21:26
Message-ID: 47F325E6.2010208@mansionfamily.plus.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Is the intent to replace most uses of (pg)kill with a general
purpose messaging system between the processes, or
(just) to address notify per se?

(Presumably with 'fire-and-forget' and also rpc
semantics?  And pub-sub? And some sort of
write to an fd protected by an atomic flag to
elide multiple writes when the process hasn't woken
and acknowledged the ATTN yet?)

If pgkill is not used for signalling, could this reduce the reliance on 
signals
(except for trying to kill off processes) to the point
where ot becomes much less scary to link to libraries
that use signals themselves and/or threaded runtimes?

Responses

pgsql-hackers by date

Next:From: Albe LaurenzDate: 2008-04-02 07:11:59
Subject: Re: Improve shutdown during online backup
Previous:From: Richard WangDate: 2008-04-02 06:12:03
Subject: bug in float8in()

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