From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: webmaster@tony.cz
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] String concat operator???
Date: Wed, 30 Jun 1999 16:35:28 +0300
Message-ID: <l03130304b39fcd381882@[147.233.159.109]> (raw)
In-Reply-To: <99063015213102.00441@localhost.localdomain>
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).
Herouth
--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: herouth@oumail.openu.ac.il, webmaster@tony.cz
Subject: Re: [SQL] String concat operator???
In-Reply-To: <l03130304b39fcd381882@[147.233.159.109]>
References: <99063015213102.00441@localhost.localdomain> <l03130304b39fcd381882@[147.233.159.109]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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