Re: JSON Function Bike Shedding

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: JSON Function Bike Shedding
Дата
Msg-id C71B88E0-0AF6-467F-9A7E-701AD1CA034E@justatheory.com
обсуждение исходный текст
Ответ на Re: JSON Function Bike Shedding  (Josh Berkus <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: JSON Function Bike Shedding
Следующее
От: Tom Lane
Дата:
Сообщение: Re: JSON Function Bike Shedding