From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bryan White <bryan@arcamax.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Perl Interface is printing NOTICE's on stderr
Date: Fri, 15 Sep 2000 15:10:09 -0400
Message-ID: <112.969045009@sss.pgh.pa.us> (raw)
In-Reply-To: <004301c01f24$31534b80$2dd260d1@arcamax.com>
References: <004301c01f24$31534b80$2dd260d1@arcamax.com>
"Bryan White" <bryan@arcamax.com> writes:
> I have a function that I have added to the database that prints a client
> sighon message to the backends log file. It uses elog(NOTICE...) to write
> to the log file.
> My problem is that when the client side is a perl program using the Pg
> module, the NOTICE messages are also printed on the client side. I think
> they are going to stderr.
> Can someone suggest how to prevent this?
Try elog(DEBUG, ...) instead.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, bryan@arcamax.com
Subject: Re: Perl Interface is printing NOTICE's on stderr
In-Reply-To: <112.969045009@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox