Re: [SQL] String concat operator??? - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] String concat operator???
Date
Msg-id 199907010341.XAA06651@candle.pha.pa.us
Whole thread Raw
In response to Re: [SQL] String concat operator???  (Herouth Maoz <herouth@oumail.openu.ac.il>)
List pgsql-sql
> At 16:16 +0300 on 30/06/1999, webmaster wrote:
> 
> 
> > Both id_look and ident are varchars.. So what's wrong with || operator? There
> > is an error parsing the querry near || ...
> >
> > Who is stupid? Me, or postgresql 6.4.2 :) ? It look like legal expression for
> > me...
> 
> Old problem... "||" doesn't have associativity, so when you use a||b||c, it
> gets mixed up. Solution - use (a||b) || c. Preferably ((a||b)||c).

And fixed in 6.5.


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [SQL] begin/end/abort work for sequences?
Next
From: Kyle Bateman
Date:
Subject: Re: [SQL] begin/end/abort work for sequences?