Re: pgsql: Fix planning of SubLinks to ensure that - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Fix planning of SubLinks to ensure that
Date
Msg-id 15818.1165508101@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Fix planning of SubLinks to ensure that  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-committers
"Andrew Dunstan" <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> This is a pretty klugy solution --- it would likely be cleaner to
>> change Param nodes to include a typmod field --- but we can't do that in
>> the already-released 8.2 branch.

> I'm slightly confused by this commit message. Is this commit on HEAD a
> temporary measure pending a cleaner fix, or is it the intended permanent
> fix, notwithstanding the kludginess?

I have a to-do item to look at the idea of adding typmod to Param, but
am not committing to do it yet.  In the meantime I figured the bug should
get fixed.

            regards, tom lane

pgsql-committers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: pgsql: Fix planning of SubLinks to ensure that
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Repair incorrect placement of WHERE clauses when there are