Re: json accessors - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: json accessors
Date
Msg-id 50B8CA78.3080105@dunslane.net
Whole thread Raw
In response to Re: json accessors  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: json accessors
List pgsql-hackers
On 11/30/2012 09:51 AM, Merlin Moncure wrote:
>
> Two questions:
> 1) is it possible for these to work without a polymorphic object
> passed through as hstore does (null::foo)?
> select  populate_record(anyelement, record, json)

I don't understand the question. The API I'm suggesting is exactly in 
line with hstore's, which uses a polymorphic parameter. I don't see how 
it can not, and I don't understand why you would have 3 parameters.

cheers

andrew




pgsql-hackers by date:

Previous
From: Kohei KaiGai
Date:
Subject: Re: Review: Extra Daemons / bgworker
Next
From: Merlin Moncure
Date:
Subject: Re: json accessors