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

From: Marko Tiikkaja <marko(at)joh(dot)to>
To: Nico Williams <nico(at)cryptonector(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Contrib: pqasyncnotifier.c -- a shell command client for LISTEN
Date: 2017-01-23 23:48:49
Message-ID: CAL9smLDtg+CJLTRi_bYFpVjDbT3hYvLpsKR9pW9XKr-04L=rFw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 24, 2017 at 12:40 AM, Nico Williams <nico(at)cryptonector(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2017-01-24 00:05:25 Re: Contrib: alternative MATERIALIZED VIEWs
Previous Message Nico Williams 2017-01-23 23:40:35 Contrib: pqasyncnotifier.c -- a shell command client for LISTEN