Re: LISTEN / NOTIFY enhancement request for Postgresql

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Sev Zaslavsky <sevzas(at)gmail(dot)com>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: LISTEN / NOTIFY enhancement request for Postgresql
Date: 2013-11-14 20:50:31
Message-ID: m2k3ga7lns.fsf@2ndQuadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)us> writes:
>> • is used to separate names in a path
>> • * is used to match any name in a path
>> • > is used to recursively match any destination starting from this name
>>
>> For example using the example above, these subscriptions are possible
>>
>> Subscription Meaning
>> PRICE.> Any price for any product on any exchange
>> PRICE.STOCK.> Any price for a stock on any exchange
>> PRICE.STOCK.NASDAQ.* Any stock price on NASDAQ
>> PRICE.STOCK.*.IBM Any IBM stock price on any exchange
>>
>>
>> My request is to implement the same or similar feature in Postgresql.
>
> This does seem useful and pretty easy to implement. Should we add a
> TODO?

I think we should consider the ltree syntax in that case, as documented
in the following link:

http://www.postgresql.org/docs/9.3/interactive/ltree.html

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Piotr Marcinczyk 2013-11-14 21:11:56 Re: Add \i option to bring in the specified file as a quoted literal
Previous Message Heikki Linnakangas 2013-11-14 20:34:33 Re: GIN improvements part2: fast scan