From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Nested CASE-WHEN scoping
Date: Wed, 25 May 2011 10:47:56 -0400
Message-ID: <5487.1306334876@sss.pgh.pa.us> (raw)
In-Reply-To: <4DDCEEB8.50602@enterprisedb.com>
References: <4DDCEEB8.50602@enterprisedb.com>
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> While looking at fixing the multiple-evaluation issue in IN and BETWEEN
> discussed a while ago, I realized that the current assumption that only
> one CaseTestExpr placeholder needs to be valid at any given time is not
> true.
[ scratches head ... ] Why does the save/restore in ExecEvalCase not
take care of this?
> So I'm going to put the BETWEEN/IN fix aside for now, and refactor the
> placeholder infrastructure to handle several simultaneous placeholders,
That sounds like a mess, and I'm not even convinced it'll solve the
problem ...
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-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, heikki.linnakangas@enterprisedb.com
Subject: Re: Nested CASE-WHEN scoping
In-Reply-To: <5487.1306334876@sss.pgh.pa.us>
References: <4DDCEEB8.50602@enterprisedb.com> <5487.1306334876@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