Re: JSON Function Bike Shedding

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: JSON Function Bike Shedding
Date: 2013-02-12 22:19:36
Message-ID: C71B88E0-0AF6-467F-9A7E-701AD1CA034E@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Feb 12, 2013, at 2:01 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:

> Given that row() is already a type-agnostic function, and RECORD is a
> stored procedure return meta-type, I think the above names would be a
> mistake. I'd suggest instead:
>
> json_to_record() and json_to_recordset()
> or:
>
> to_record(json) and to_recordset(json)

I like these last two a lot, actually. Thanks!

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-02-13 00:15:59 Re: JSON Function Bike Shedding
Previous Message Josh Berkus 2013-02-12 22:01:30 Re: JSON Function Bike Shedding