Re: BUG #3459: Query Error : plan should not reference subplan's variable

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3459: Query Error : plan should not reference subplan's variable
Дата
Msg-id 5699.1184704402@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3459: Query Error : plan should not reference subplan's variable  ("David Sanchez i Gregori" <delkos_2000@yahoo.es>)
Список pgsql-bugs
"David Sanchez i Gregori" <delkos_2000@yahoo.es> writes:
> select * from(
> select min("ID") as nid from "Seguretat"."Usuarios" as j
> where not exists
> ( select 1 from "Seguretat"."Usuarios" as k where k."ID"=j."ID")
> ) as b

Confirmed here, as far back as 8.1.  It sort of looks like the
indexes-for-min-and-max patch has confused the older code for Param
assignment.  I'm surprised this wasn't reported earlier...

            regards, tom lane

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

Предыдущее
От: "David Sanchez i Gregori"
Дата:
Сообщение: BUG #3459: Query Error : plan should not reference subplan's variable
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #3431: age() gets the days wrong