Re: NOTIFY with tuples - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: NOTIFY with tuples
Date
Msg-id 10A5F75B-9DFC-46B4-91A1-6F6C5E7FD438@kineticode.com
Whole thread Raw
In response to Re: NOTIFY with tuples  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Dec 13, 2011, at 8:21 PM, Tom Lane wrote:

>> I'm not sure whether we'd want something like this in core, so for a
>> first go-around, you might want to consider building it as an
>> extension. ...  I'm not sure you
>> need NOTIFY for anything anywhere in here.
> 
> Actually, what I'd suggest is just some code to serialize and
> deserialize tuples and transmit 'em via the existing NOTIFY payload
> facility.  I agree that presenting it as some functions would be a lot
> less work

The ability to cast RECORDs to JSON would be awesome for this.

Best,

David



pgsql-hackers by date:

Previous
From: Pavel Golub
Date:
Subject: Re: LibreOffice driver 1: Building libpq with Mozilla LDAP instead of OpenLDAP
Next
From: Martijn van Oosterhout
Date:
Subject: Re: WIP: URI connection string support for libpq