Re: [HACKERS] equal: don't know whether nodes of type 600 are equal

From: jwieck(at)debis(dot)com (Jan Wieck)
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] equal: don't know whether nodes of type 600 are equal
Date: 1999-02-07 11:44:53
Message-ID: m109Sdx-000EBPC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

> I do not think that extending copyObject to handle 604 (T_SelectStmt)
> is necessarily the right fix here. I am casting a wary eye on
> the first lines of ExplainOneQuery:
>
> /* plan the queries (XXX we've ignored rewrite!!) */
> plan = planner(query);
>
> I think the real problem is that the EXCEPT/INTERSECT code is dependent
> on rewrite work that is not being done in the EXPLAIN path, and that
> we need to fix that underlying problem rather than patching the symptom.
> Otherwise we'll likely just hit another symptom...

I added the call to QueryRewrite() in ExplainQuery() some
time ago. So the comment in ExplainOneQuery() isn't right
(and I should have removed that).

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck(at)debis(dot)com (Jan Wieck) #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-02-07 12:33:49 Re: [HACKERS] One I've never seen before:
Previous Message The Hermit Hacker 1999-02-07 06:39:18 Re: [HACKERS] One I've never seen before: