PL/Perl function signatures

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема PL/Perl function signatures
Дата
Msg-id CAKoxK+45HJLTTPBdWi1BrMASYPh5WfFD9RYRdPcX2FKqShZEGg@mail.gmail.com
обсуждение исходный текст
Ответы Re: PL/Perl function signatures
Список pgsql-general
Hi all,
is there any way to exploit sub signatures in PL/Perl?
The following is not working, I suspect it is not possible due to the
way PL/Perl compiles the code.


testdb=# create or replace function f( a int )
returns text
as $$
use feature 'signatures';

elog( INFO, "Perl version $^V" );
elog(INFO, "A = $a" );
return "A=$a";
$$
language plperlu;


testdb=# select f( 10 );
INFO:  Perl version v5.32.1
INFO:  A =
f
----
A=
(1 row)



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

Предыдущее
От: Luca Ferrari
Дата:
Сообщение: Re: ora2pg -c ora2pg.conf -t COPY -a tablename not working properly
Следующее
От: Durumdara
Дата:
Сообщение: Re: Role for just read the data + avoid CREATE / ALTER / DROP