Allow LISTEN on patterns - Mailing list pgsql-hackers

From Quan Zongliang
Subject Allow LISTEN on patterns
Date
Msg-id 8d39e9fc-5ab9-40e7-8f94-6dcfe2a57370@yeah.net
Whole thread Raw
Responses Re: Allow LISTEN on patterns
Re: Allow LISTEN on patterns
List pgsql-hackers
I implemented a LISTEN command that supports matching names in the LIKE 
format.

Just like

LISTEN 'c%';
NOTIFY c1;NOTIFY c2;

Notifications are received for c1 and c2.

For grammatical reasons, LISTEN 'v_'; with LISTEN v_; It's weird.

Should it be defined in a way that makes it easier to distinguish?
And support for more matching patterns.

For example
LISTEN [LIKE] 'like_pattern';
LISTEN SIMILAR 'regex_pattern';

--
Zongliang Quan
Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER
Next
From: Fujii Masao
Date:
Subject: Re: Log connection establishment timings