Re: [HACKERS] Re: Apparent bug in _make_subplan

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Re: Apparent bug in _make_subplan
Дата
Msg-id 199906180443.AAA16066@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: Apparent bug in _make_subplan  (Vadim Mikheev <vadim@krs.ru>)
Список pgsql-hackers
> subselect.c uses varlevelsup as absolute level number only
> for correlation vars <--> params mapping, so why should it be
> source of bugs? SS_replace_correlation_vars replaces all
> correlation vars with parameters. Vars with absolute varlevelsup
> are in PlannerParamVar only. To identify correlation vars and
> to know is parameter already assigned to a var we obviously
> need in absolute level number.

But the varlevelsup I pass in from the parser are relative to the
current level, not absolute. 

--  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 по дате отправления:

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] Re: Apparent bug in _make_subplan
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: [HACKERS] tables > 1 gig