Re: [HACKERS] Planner drops unreferenced tables --- bug, no? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Planner drops unreferenced tables --- bug, no?
Date
Msg-id 199910050404.AAA28614@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Planner drops unreferenced tables --- bug, no?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] MATLAB mex file for PostgreSQL
Next
From: Jose Antonio Cotelo lema
Date:
Subject: User types using large objects. Is it really possible?