PL/Perl function signatures - Mailing list pgsql-general

From Luca Ferrari
Subject PL/Perl function signatures
Date
Msg-id CAKoxK+45HJLTTPBdWi1BrMASYPh5WfFD9RYRdPcX2FKqShZEGg@mail.gmail.com
Whole thread Raw
Responses Re: PL/Perl function signatures
List 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 by date:

Previous
From: Luca Ferrari
Date:
Subject: Re: ora2pg -c ora2pg.conf -t COPY -a tablename not working properly
Next
From: Durumdara
Date:
Subject: Re: Role for just read the data + avoid CREATE / ALTER / DROP