Re: [HACKERS] Contrib: pqasyncnotifier.c -- a shell command clientfor LISTEN - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: [HACKERS] Contrib: pqasyncnotifier.c -- a shell command clientfor LISTEN
Date
Msg-id CAL9smLDtg+CJLTRi_bYFpVjDbT3hYvLpsKR9pW9XKr-04L=rFw@mail.gmail.com
Whole thread Raw
In response to [HACKERS] Contrib: pqasyncnotifier.c -- a shell command client for LISTEN  (Nico Williams <nico@cryptonector.com>)
Responses Re: [HACKERS] Contrib: pqasyncnotifier.c -- a shell command clientfor LISTEN  (Nico Williams <nico@cryptonector.com>)
List pgsql-hackers
On Tue, Jan 24, 2017 at 12:40 AM, Nico Williams <nico@cryptonector.com> wrote:
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.

Did you forget the attachment?


.m

pgsql-hackers by date:

Previous
From: Nico Williams
Date:
Subject: [HACKERS] Contrib: pqasyncnotifier.c -- a shell command client for LISTEN
Next
From: Jim Nasby
Date:
Subject: Re: [HACKERS] Contrib: alternative MATERIALIZED VIEWs