"A.Bhuvaneswaran" <bhuvansql(at)myrealbox(dot)com> writes:
> create or replace function perl_test (text, text)
> returns int as '
> my ($A1, $A2) = @_;
> print "Argument 1 :$A1:\n";
> print "Argument 2 :$A2:\n";
> return 1;
> '
> language 'plperl';
Printing to stdout is not the defined way to send a notice to a Postgres
client. Use elog:
http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/plperl-database.html
regards, tom lane