Re: json (b) and null fields

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: json (b) and null fields
Дата
Msg-id 542779E1.2070702@dunslane.net
обсуждение исходный текст
Ответ на Re: json (b) and null fields  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: json (b) and null fields  (Stephen Frost <sfrost@snowman.net>)
Re: json (b) and null fields  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 09/27/2014 10:52 PM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> On 09/27/2014 06:27 PM, Tom Lane wrote:
>>> So my vote is for a separate function and no optional arguments.
>> You mean like row_to_json_no_nulls() and json_agg_no_nulls()?
> I thought you were proposing that we should revert the committed patch
> lock-stock-n-barrel, and instead invent json_strip_null_fields().
> That's instead, not in addition to.  Even if you weren't saying that
> exactly, that's where my vote goes.


I was just exploring alternatives. But I think that's where my vote goes 
too.

cheers

andrew




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: json (b) and null fields
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: json (b) and null fields