Re: JSON Function Bike Shedding - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: JSON Function Bike Shedding
Date
Msg-id C71B88E0-0AF6-467F-9A7E-701AD1CA034E@justatheory.com
Whole thread Raw
In response to Re: JSON Function Bike Shedding  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Feb 12, 2013, at 2:01 PM, Josh Berkus <josh@agliodbs.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




pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: JSON Function Bike Shedding
Next
From: Tom Lane
Date:
Subject: Re: JSON Function Bike Shedding