Re: [GENERAL] Surprising results from array concatenation

Поиск
Список
Период
Сортировка
От Mike Blackwell
Тема Re: [GENERAL] Surprising results from array concatenation
Дата
Msg-id CANPAkgsoqbRQ9mhZKF=OrL42qT9tdYqym8-=OpMHtAKhGEcwkg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Surprising results from array concatenation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Tue, Apr 25, 2017 at 12:53 PM, Tom Lane <tgl@sss.pgh.pa.us> 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?

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Surprising results from array concatenation
Следующее
От: Jerry Sievers
Дата:
Сообщение: Re: [GENERAL] Questionaire: Common WAL write rates on busy servers.