Re: New notices?

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: New notices?
Дата
Msg-id 37F22B49.8C3E4B7F@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: New notices?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: New notices?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Planner drops unreferenced tables --- bug, no?
Следующее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] Planner drops unreferenced tables --- bug, no?