Re: Bug with 'iscachable' attribute (Was: Index selection bug)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug with 'iscachable' attribute (Was: Index selection bug)
Дата
Msg-id 7806.964704956@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug with 'iscachable' attribute (Was: Index selection bug)  (Andriy I Pilipenko <bamby@marka.net.ua>)
Список pgsql-bugs
Andriy I Pilipenko <bamby@marka.net.ua> writes:
> create table a (a int)

> create table b (b int)

> create function f() returns int as '
>     select a
>           from a
>          where a = (select max(b) from b)
> ' language 'sql'
> with (iscachable)

> select f()

>   ERROR:  replace_vars_with_subplan_refs: variable not in subplan target list

Oh my, that's interesting :-( --- especially that it doesn't happen
without iscachable.  Will look into it.  Thanks for the report.

            regards, tom lane

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

Предыдущее
От: Andriy I Pilipenko
Дата:
Сообщение: Bug with 'iscachable' attribute (Was: Index selection bug)
Следующее
От: Bernie Huang
Дата:
Сообщение: inheritance in V.7.1?