Re: json accessors

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Hannu Krosing <hannu(at)krosing(dot)net>, Hannu Krosing <hannu(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: json accessors
Date: 2012-11-30 15:02:16
Message-ID: 50B8CA78.3080105@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2012-11-30 15:03:09 Re: json accessors
Previous Message Kohei KaiGai 2012-11-30 14:58:57 Re: Review: Extra Daemons / bgworker