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

From Nico Williams
Subject [HACKERS] Contrib: pqasyncnotifier.c -- a shell command client for LISTEN
Date
Msg-id 20170123234035.GE1838@localhost
Whole thread Raw
Responses Re: [HACKERS] Contrib: pqasyncnotifier.c -- a shell command clientfor LISTEN
List 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
-- 



pgsql-hackers by date:

Previous
From: Nico Williams
Date:
Subject: [HACKERS] Contrib: alternative MATERIALIZED VIEWs
Next
From: Marko Tiikkaja
Date:
Subject: Re: [HACKERS] Contrib: pqasyncnotifier.c -- a shell command clientfor LISTEN