Re: NOTIFY with tuples

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Thomas Munro <munro(at)ip9(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: NOTIFY with tuples
Date: 2011-12-14 08:00:16
Message-ID: 10A5F75B-9DFC-46B4-91A1-6F6C5E7FD438@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2011-12-14 08:17:54 Re: WIP: URI connection string support for libpq
Previous Message Pavel Golub 2011-12-14 07:05:33 Re: LibreOffice driver 1: Building libpq with Mozilla LDAP instead of OpenLDAP