Re: Allow LISTEN on patterns

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Trey Boudreau <trey(at)treysoft(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, Quan Zongliang <quanzongliang(at)yeah(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Allow LISTEN on patterns
Date: 2025-03-05 17:21:25
Message-ID: CAKAnmm+BJidBmAabseWZG7xcFzy3qZEpVJCKhC0F3R019USnzA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Does not seem like a bug to me. Just the normal auto-lowercase encountered
in every other SQL command. See:

greg=# select * from pg_listening_channels();
pg_listening_channels
-----------------------
(0 rows)

greg=# listen foo;
LISTEN
greg=# select * from pg_listening_channels();
pg_listening_channels
-----------------------
foo
(1 row)

greg=# listen FOO;
LISTEN
greg=# select * from pg_listening_channels();
pg_listening_channels
-----------------------
foo
(1 row)

greg=# listen "FOO";
LISTEN
greg=# select * from pg_listening_channels();
pg_listening_channels
-----------------------
foo
FOO
(2 rows)

Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-03-05 17:21:40 Re: Adding support for SSLKEYLOGFILE in the frontend
Previous Message Burd, Greg 2025-03-05 17:20:34 Re: Expanding HOT updates for expression and partial indexes