Re: pgsql/src/backend/optimizer/prep prepunion.c

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)hub(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql/src/backend/optimizer/prep prepunion.c
Date: 2001-08-14 19:36:42
Message-ID: 200108141936.f7EJag003849@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers


Tom, thanks for fixing this. I couldn't verify the bug because the test
case was so complex.

> CVSROOT: /home/projects/pgsql/cvsroot
> Module name: pgsql
> Changes by: tgl(at)hub(dot)org 01/08/14 13:12:57
>
> Modified files:
> src/backend/optimizer/prep: prepunion.c
>
> Log message:
> Fix brokenness of nested EXCEPT/INTERSECT queries. prepunion was being
> a tad sloppy about generating the targetlist for some nodes, by generating
> a tlist entry that claimed to be a constant when the value wasn't actually
> constant. This caused setrefs.c to do the wrong thing later on.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2001-08-14 21:21:41 pgsql/ /HISTORY oc/src/sgml/release.sgml
Previous Message Tom Lane 2001-08-14 17:12:58 pgsql/src/backend/optimizer/prep prepunion.c