Skip site navigation (1) Skip section navigation (2)

Re: pgsql: Fix planning of SubLinks to ensure that

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix planning of SubLinks to ensure that
Date: 2006-12-07 12:25:12
Message-ID: 63990.65.211.31.251.1165494312.squirrel@www.dunslane.net (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Tom Lane wrote:
> Log Message:
> -----------
> Fix planning of SubLinks to ensure that Vars generated from transformation
> of
> a sublink's test expression have the correct vartypmod, rather than
> defaulting
> to -1.  There's at least one place where this is important because we're
> expecting these Vars to be exactly equal() to those appearing in the
> subplan
> itself.  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.
> Per bug report from Hubert Fongarnand.
>


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?

cheers

andrew


In response to

Responses

pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2006-12-07 16:03:05
Subject: Re: Load distributed checkpoint
Previous:From: Takayuki TsunakawaDate: 2006-12-07 12:19:29
Subject: Re: Load distributed checkpoint

pgsql-committers by date

Next:From: Tom LaneDate: 2006-12-07 16:15:01
Subject: Re: pgsql: Fix planning of SubLinks to ensure that
Previous:From: Simon RiggsDate: 2006-12-07 00:36:49
Subject: Re: pgsql: Back out mention of port success fromFAQs, per Tom, added by

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group