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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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