> 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