Re: [HACKERS] Planner drops unreferenced tables --- bug, no?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jan Wieck <wieck(at)debis(dot)com>, Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Planner drops unreferenced tables --- bug, no?
Date: 1999-10-05 04:04:56
Message-ID: 199910050404.AAA28614@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Actually, it would probably be cleanest if we split the functions of
> inFromCl into two separate flags, say "inFromCl" and "inJoinSet".
> The point of inFromCl is that when we add an implicit RTE using the
> Postquel extension, it shouldn't suddenly become part of the available
> namespace for unqualified column names processed later in the query.
> So inFromCl controls the use of the RTE to look up unqualified names.
> However, if we believe that the planner should subsequently treat that
> implicit RTE as if it were a normal join target, then we need a separate
> flag that carries that information.

Two different flags seems like the perfect way. Let me know if you need
any help adding the flag. I would be glad to do it.

--
Bruce Momjian | http://www.op.net/~candle
maillist(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-hackers by date

  From Date Subject
Next Message Geeta Mahesh 1999-10-05 08:40:03 initdb problem on sun solaris sparc
Previous Message Thomas Lockhart 1999-10-05 01:48:43 Re: [HACKERS] MATLAB mex file for PostgreSQL