Re: "select ('{}'::text[])[1]" returns NULL -- is it correct?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: "select ('{}'::text[])[1]" returns NULL -- is it correct?
Дата
Msg-id 200704091827.16428.peter_e@gmx.net
обсуждение исходный текст
Ответ на "select ('{}'::text[])[1]" returns NULL -- is it correct?  ("Nikolay Samokhvalov" <samokhvalov@gmail.com>)
Список pgsql-hackers
Nikolay Samokhvalov wrote:
>  2. what should I do with XPath function? There is strong analogy
> between its case and array's case in my mind... Should I leave NULLs,
> or empty arrays are better?

Empty array appears to be correct.  The fact that arrays don't appear to 
work as you might like is a different problem that should not affect 
the specification of the XPath functionality.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: "Adrian Maier"
Дата:
Сообщение: Re: What X86/X64 OS's do we need coverage for?
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: What X86/X64 OS's do we need coverage for?