Re: [PATCH] Pattern based listeners for asynchronous messaging (LISTEN/NOTIFY)

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Markus Sintonen <markus(dot)sintonen(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Pattern based listeners for asynchronous messaging (LISTEN/NOTIFY)
Date: 2017-07-31 23:13:40
Message-ID: 597FB9A4.8040301@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 07/31/17 16:30, Peter Eisentraut wrote:

> I would think about specifying an operator somewhere in the syntax, like
> you have with LISTEN SIMILAR TO. It would even be nice if a
> non-built-in operator could be used for matching names.

Hmm ... as I was reading through the email thread, I saw a suggestion
was once made to look at ltree, and then I noticed the patch as presented
had simply gone with regular expressions instead. I wonder if there'd be
a way to work it so an operator can be specified, and allow you to treat
the names as (say) ltree labels if that suited your application.

-Chap

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-07-31 23:42:30 Re: PostgreSQL 10 (latest beta) and older ICU
Previous Message Tatsuo Ishii 2017-07-31 23:11:23 Re: Incorrect comment of XLByteToSeg() and XLByteToPrevSeg()