Search Postgresql Archives

Re: Surprising results from array concatenation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 25, 2017 at 12:53 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
Yeah.  The core problem here is that the parser has to disambiguate the
|| operator: is it "anyarray || anyelement" or "anyarray || anyarray"?
​<...>​
 
Peeking at the contents of the literal would make the behavior very
unpredictable/data-dependent, so we don't.

​Fair enough.  

Would a note in that section of the docs pointing out this behavior be worthwhile?


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux