On Friday, October 25, 2002, at 08:14 AM, William McKee wrote:
I'm not sure which it would be either. Perhaps someone on the list who isYes, it is. I use a similar solution to quiet PostgreSQL NOTICEs when building a database:
familiar with DBI or the Pg driver could ellucidate. However, I suspect
the solution would have to be similar to what you've done with capturing
STDERR since writing to STDERR is probably built into the Postgres server.
open STDERR, "| perl -ne 'print unless /^NOTICE: /'"
or die "Cannot pipe STDERR: $!\n";
However, in PostgreSQL 7.3, there will be a database handle constructor that will turn this off. But not to redirected it elsewhere, I'm afraid. Your solution is probably best for now.
HTH,
David
--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: [EMAIL PROTECTED]
