Re: Allow LISTEN on patterns

Trey Boudreau <trey@treysoft.com>

From: Trey Boudreau <trey@treysoft.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Aleksander Alekseev <aleksander@timescale.com>, Quan Zongliang <quanzongliang@yeah.net>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-03-05T17:13:23Z
Lists: pgsql-hackers
> On Mar 5, 2025, at 10:42 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> Anyway, I encourage reading some of the past threads on this
> topic.
> 
I didn’t see any past references to the pg_notify() ‘anomaly’:

LISTEN FOO;
NOTIFY FOO, ‘BAR’; -- notification delivered
PERFORM pg_notify(‘FOO’, ‘BAR’); -- notification NOT delivered
PERFORM pg_notify(‘foo’, ‘BAR’); -- notification delivered

Can we come to some agreement on if we should consider this a bug?

— Trey