RE: - Mailing list pgsql-general

From Taral
Subject RE:
Date
Msg-id 000201bdfa4f$fd6ecf60$3b291f0a@taral
Whole thread Raw
In response to ...  ("Doug Smith" <doug@the-bridge.net>)
List pgsql-general
> ex. select lastname||' '||firstname||' '||address

It's because the parser has no defined precedence for operators like ||.

Try:

select (((lastname || ' ') || firstname) || ' ') || address;

Yes, I know it's annoying. But there's a problem with defining precedence in
the grammar for operators like this. Sorry.

Taral


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: your mail
Next
From: "Doug Smith"
Date:
Subject: ...