Re: missing support of named convention for procedures
От
Pavel Stehule
Тема
Re: missing support of named convention for procedures
Дата
Msg-id
CAFj8pRCYtuviU8V3Jn1bN-6jaO10ZWFDp2-Es+gzssDGyaBwZA@mail.gmail.com
Ответ на
Re: missing support of named convention for procedures (Pavel Stehule)
Список
Дерево обсуждения
missing support of named convention for procedures Pavel Stehule <pavel.stehule@gmail.com>
Re: missing support of named convention for procedures Pavel Stehule <pavel.stehule@gmail.com>
Re: missing support of named convention for procedures Pavel Stehule <pavel.stehule@gmail.com>
Re: missing support of named convention for procedures Pavel Stehule <pavel.stehule@gmail.com>
Re: missing support of named convention for procedures Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: missing support of named convention for procedures Pavel Stehule <pavel.stehule@gmail.com>
Re: missing support of named convention for procedures Pavel Stehule <pavel.stehule@gmail.com>
Re: missing support of named convention for procedures Andres Freund <andres@anarazel.de>
Re: missing support of named convention for procedures Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: missing support of named convention for procedures Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: missing support of named convention for procedures Pavel Stehule <pavel.stehule@gmail.com>
2018-03-16 11:29 GMT+01:00 Pavel Stehule <pavel.stehule@gmail.com>:
2018-03-16 8:43 GMT+01:00 Pavel Stehule <pavel.stehule@gmail.com>:2018-03-15 22:13 GMT+01:00 Pavel Stehule <pavel.stehule@gmail.com>:Hi
create or replace procedure proc2(in a int, in b int)
as $$
begin
a := a * 10;
b := b * 10;
end;
$$ language plpgsql;
postgres=# call proc2(a => 10,b => 20);
ERROR: XX000: unrecognized node type: 107
LOCATION: ExecInitExprRec, execExpr.c:2114Defaults are not supported too:
postgres=# create or replace procedure foo1(a int, b int, c int default 10)
as $$
begin
raise notice 'a: %, b: %, c: %', a, b, c;
end;
$$ language plpgsql;
CREATE PROCEDURE
postgres=# call foo1(10,20);
NOTICE: 00000: a: 10, b: 20, c: -778600432
LOCATION: exec_stmt_raise, pl_exec.c:3643
CALLattached patch fixes itRegardsPavel
variadic parameters are supported too.
PavelRegards
В списке pgsql-hackers по дате отправления
От: Arthur Zakirov
Дата: