Re: what is good solution for support NULL inside string_to_array function?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: what is good solution for support NULL inside string_to_array function?
Дата
Msg-id 4BDF9208.10801@dunslane.net
обсуждение исходный текст
Ответ на Re: what is good solution for support NULL inside string_to_array function?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
>> Default display for NULL should be a zero-length string.
>>     
>
> That's just as broken as Pavel's suggestion.  Unless you have something
> that is guaranteed distingishable from the output of any non-null value,
> you really can't make a significant improvement here.
>
>             
>   

Right. This is the problem we solved in CSV processing by distinguishing 
between quoted and unquoted values that could be null - the CSV rule is 
that a null value isn't quoted.

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: what is good solution for support NULL inside string_to_array function?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: pg_migrator to /contrib in a later 9.0 beta