pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Odd "operator does not exist" message 2+ messages / 2 participants [nested] [flat]
* Odd "operator does not exist" message @ 2016-01-09 01:57 David G. Johnston <david.g.johnston@gmail.com> 2016-01-09 05:09 ` Re: Odd "operator does not exist" message Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: David G. Johnston @ 2016-01-09 01:57 UTC (permalink / raw) To: 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. ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Odd "operator does not exist" message 2016-01-09 01:57 Odd "operator does not exist" message David G. Johnston <david.g.johnston@gmail.com> @ 2016-01-09 05:09 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2016-01-09 05:09 UTC (permalink / raw) To: David G. Johnston <david.g.johnston@gmail.com>; +Cc: pgsql-bugs "David G. Johnston" <david.g.johnston@gmail.com> writes: > 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... || is allowed as a postfix operator, + is not ... regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-01-09 05:09 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-01-09 01:57 Odd "operator does not exist" message David G. Johnston <david.g.johnston@gmail.com> 2016-01-09 05:09 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox