Re: New notices? - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: New notices?
Date
Msg-id 37F22B49.8C3E4B7F@alumni.caltech.edu
Whole thread Raw
In response to Re: New notices?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: New notices?
List pgsql-hackers
> > I updated my current tree and now this message comes out on even
> > simple queries. Is it supposed to be there? If so, why??
> Strange.  I don't get it:

I'll bet it is coming from my using expandAll() to support the new
join syntax, and as a kludge I am feeding it a dummy parse state as a
placeholder. As I try to implement table and column aliases, I'll be
mucking around in all of these areas. It isn't at all clear to me from
the notes or from the checks that there was some specific case this
was intended to catch...

In the meantime, I've bracketed my local copy of the code:

#ifdef EMIT_ANNOYING_MESSAGES       elog(NOTICE,"Adding missing FROM-clause entry%s for table %s",
pstate->parentParseState!= NULL ? " in subquery" : "",           refname);
 
#endif

;)
               - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Planner drops unreferenced tables --- bug, no?
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] Planner drops unreferenced tables --- bug, no?