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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org, nikolay(at)samokhvalov(dot)com
Subject: Re: "select ('{}'::text[])[1]" returns NULL -- is it correct?
Date: 2007-04-09 16:27:16
Message-ID: 200704091827.16428.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2007-04-09 16:38:22 Re: What X86/X64 OS's do we need coverage for?
Previous Message Adrian Maier 2007-04-09 16:22:54 Re: What X86/X64 OS's do we need coverage for?