From: "D'Arcy" "J.M." Cain <darcy@druid.net>
To: jens@jens.de
Cc: doug.t@deltanet.com
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] combining columns in select
Date: Sat, 2 Oct 1999 21:15:29 -0400 (EDT)
Message-ID: <m11XaFN-0000c2C@druid.net> (raw)
In-Reply-To: <Pine.LNX.4.05.9910012118510.217-100000@helena.jens.de>
Thus spake Jens Glaser
> On Sat, 2 Oct 1999, Doug Thistlethwaite wrote:
> > select lname + ', ' + fname as NAME from table ...
>
> I think this is a parser bug. I recall there is a simple workaround:
>
> select (lname + ', ') + fname ... (use braces)
While you are correct in your solution, it isn't a parser bug. It just
follows the spec. There has been talk of allowing the first form as
an extension.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
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: darcy@druid.net, jens@jens.de, doug.t@deltanet.com
Subject: Re: [SQL] combining columns in select
In-Reply-To: <m11XaFN-0000c2C@druid.net>
References: <Pine.LNX.4.05.9910012118510.217-100000@helena.jens.de> <m11XaFN-0000c2C@druid.net>
* 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