Re: recursive query crash

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: recursive query crash
Дата
Msg-id 603c8f070810120528k33549312qac7e5b7f275ed593@mail.gmail.com
обсуждение исходный текст
Ответ на Re: recursive query crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: recursive query crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> If we were to flatten it to a plain "select * from z" then maybe things
> would work all right, but the present implementation treats both WITH
> clauses as equally requiring single evaluation.

Surely it should be a single evaluation for each time that branch of
the upper WITH is recursively evaluated?  I can't think what the
semantics are otherwise.  a is a function of z, so you can't change
the definition of z and pretend like it's OK that a still has the same
contents as before.

...Robert


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: The Axe list
Следующее
От: Grzegorz Jaskiewicz
Дата:
Сообщение: SELECT TOP %d PERCENT, or SELECT ... LIMIT %d PERCENT ?