Re: subselects

Поиск
Список
Период
Сортировка
От Vadim B. Mikheev
Тема Re: subselects
Дата
Msg-id 34C2F4B4.7BBA1DB2@sable.krasnoyarsk.su
обсуждение исходный текст
Ответ на subselects  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] Re: subselects  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] Re: subselects  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] Re: subselects  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:
>
> OK, I have added code to allow the SubLinks make it to the optimizer.
>
> I implemented ParseState->parentParseState, but not parentQuery, because
> the parentParseState is much more valuable to me, and Vadim thought it
> might be useful, but was not positive.  Also, keeping that parentQuery
> pointer valid through rewrite may be difficult, so I dropped it.
> ParseState is only valid in the parser.
>
> I have not done:
>
>         correlated subquery column references
>         added Var->sublevels_up
>         gotten this to work in the rewrite system
>         have not added full CopyNode support
>
> I will address these in the next few days.

Nice! I'm starting with non-correlated subqueries...

Vadim

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: subselects
Следующее
От: Mattias Kregert
Дата:
Сообщение: Re: Re: [HACKERS] Re: [QUESTIONS] Business cases