Re: Bug #958: plperl notice server log

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "A(dot)Bhuvaneswaran" <bhuvansql(at)myrealbox(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #958: plperl notice server log
Date: 2003-04-29 06:09:17
Message-ID: 24569.1051596557@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message A.Bhuvaneswaran 2003-04-29 06:51:05 Re: Bug #958: plperl notice server log
Previous Message A.Bhuvaneswaran 2003-04-29 05:04:26 Re: Bug #958: plperl notice server log