Re: Feature request: NOTIFY enhancement

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: CN <cnliou9(at)fastmail(dot)fm>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Feature request: NOTIFY enhancement
Date: 2008-01-03 16:21:37
Message-ID: 200801031621.m03GLb101398@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I am not sure if I am asking too much but does it make sense, and is it
> possible, to enhance NOTIFY that process "name/value" pair? Like this:
>
> NOTIFY "MyName=MyValue";
>
> With the capability of name/value pair, the listener will not have to
> check notification details by reading tables.

TODO already has:

* Add optional textual message to NOTIFY

This would allow an informational message to be added to the notify
message, perhaps indicating the row modified or other custom
information.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-01-03 16:27:02 Re: C-Extenions for PostgreSQL, Call Convention Version 0
Previous Message CN 2008-01-03 16:11:18 Feature request: NOTIFY enhancement