Contrib: pqasyncnotifier.c -- a shell command client for LISTEN

From: Nico Williams <nico(at)cryptonector(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Contrib: pqasyncnotifier.c -- a shell command client for LISTEN
Date: 2017-01-23 23:40:35
Message-ID: 20170123234035.GE1838@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

psql(1) does not output notifications asynchronously, as it does not
check for them when idle. This makes it difficult to script handling of
NOTIFYs.

Attached is pqasyncnotifier.c, a simple command that allows one to
handle NOTIFYs asynchronously.

Cheers,

Nico
--

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2017-01-23 23:48:49 Re: Contrib: pqasyncnotifier.c -- a shell command client for LISTEN
Previous Message Nico Williams 2017-01-23 23:38:20 Contrib: alternative MATERIALIZED VIEWs