From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: George Henry C. Daswani <gdaswani@esri.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [SQL] Re: Problem with coalesce..
Date: Thu, 02 Nov 2000 03:09:10 -0500
Message-ID: <24580.973152550@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSF.4.10.10011010846000.69236-100000@megazone23.bigpanda.com>
References: <Pine.BSF.4.10.10011010846000.69236-100000@megazone23.bigpanda.com>
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> There are still some contexts in which subqueries in expressions are
> wierd. The example below appears to work in current sources however.
>> SELECT COALESCE ((SELECT CURVALUE FROM TABLEKEYS WHERE TABLENAME = 'BUYER'),1)
>> returns a "UNKNOWN expression type 501"
AFAICT it works in 7.0.* as well. Are you sure this was 7.0.2, and
not 6.5.something?
regards, tom lane
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: tgl@sss.pgh.pa.us, sszabo@megazone23.bigpanda.com, gdaswani@esri.com, pgsql-general@postgresql.org
Subject: Re: [SQL] Re: Problem with coalesce..
In-Reply-To: <24580.973152550@sss.pgh.pa.us>
References: <Pine.BSF.4.10.10011010846000.69236-100000@megazone23.bigpanda.com> <24580.973152550@sss.pgh.pa.us>
* 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