Re: CALL stmt, ERROR: unrecognized node type: 113 bug

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: CALL stmt, ERROR: unrecognized node type: 113 bug
Дата
Msg-id 20180202070113.GA92095@paquier.xyz
обсуждение исходный текст
Ответ на CALL stmt, ERROR: unrecognized node type: 113 bug  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: CALL stmt, ERROR: unrecognized node type: 113 bug
Список pgsql-hackers
On Thu, Feb 01, 2018 at 05:33:54PM +0100, Pavel Stehule wrote:
> I am playing with procedures little bit
>
> I found few bugs
>
> create procedure test(a int)
> as $$
> begin
>   raise notice '>>>%<<<', a;
> end;
> $$ language plpgsql;
>
> call test(10); -- ok
>
> postgres=# call test((select 10));
> ERROR:  unrecognized node type: 113
>
> postgres=# \sf test
> ERROR:  cache lookup failed for type 0

Peter, Andrew, this is missing some bits related to the conversion of
SubLink nodes to SubPlan nodes for procedures when used as argument of
a procedure as only the latter can be executed after the former is
processed by the latter (see SS_process_sublinks).
--
Michael

Вложения

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

Предыдущее
От: Amit Khandekar
Дата:
Сообщение: Re: Query running for very long time (server hanged) with parallel append
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: CALL stmt, ERROR: unrecognized node type: 113 bug