Suppressing Error messages.

From: "Basith Salman" <bsalman(at)lemurnetworks(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Suppressing Error messages.
Date: 2005-08-05 14:42:49
Message-ID: 8e241b1e5d63456c88f2ab727ee67d2d@lemurnetworks.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

I was wondering if there is way to suppress the error messages on the stdout
from a perl dbi execute command, basically if I do a
sth->execute() on a command and say the row cannot be updated then
I get a err msg to stdout if there is foreign key violation, I want this error message
to be directed to a log file.

Is this possible.

TIA.
bsalman(at)lemurnetworks(dot)com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Frank Miles 2005-08-05 14:57:50 Re: What causes lock??
Previous Message Lowell.Hought 2005-08-05 14:21:49 Re: DNS vs /etc/hosts