RE:

From: "Taral" <taral(at)mail(dot)utexas(dot)edu>
To: "Doug Smith" <doug(at)the-bridge(dot)net>, <pgsql-general(at)postgreSQL(dot)org>
Subject: RE:
Date: 1998-10-18 04:30:09
Message-ID: 000201bdfa4f$fd6ecf60$3b291f0a@taral
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • at 1998-10-17 02:58:51 from Doug Smith

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Atoon 1998-10-18 16:07:16 Re: PQexec() -- query is too long. Maximum length is 8191
Previous Message Bruce Momjian 1998-10-18 03:37:44 Re: your mail