Odd "operator does not exist" message

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Odd "operator does not exist" message
Дата
Msg-id CAKFQuwa25zVF7y3ZUUXRvTeoGi7+MgpFGEObrQu5-DtgtLgNFQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Odd "operator does not exist" message  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Stumbled across this and it just seemed unusual - though by no means
cryptic.

SELECT 'text' || AS label

ERROR:  operator does not exist: unknown ||

The lack of a second type to the right of the operator symbol caught my
attention.

SELECT 1 + AS label

ERROR: syntax error at or near "AS"

Was seemingly what I had been expecting...

David J.

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #13594: pg_ctl.exe redirects stderr to Windows Events Log if stderr is redirected to pipe
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Odd "operator does not exist" message