Re: [SQL] String concat operator???

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [SQL] String concat operator???
Дата
Msg-id 199907010341.XAA06651@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] String concat operator???  (Herouth Maoz <herouth@oumail.openu.ac.il>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] begin/end/abort work for sequences?
Следующее
От: Kyle Bateman
Дата:
Сообщение: Re: [SQL] begin/end/abort work for sequences?