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@xxxxxxxxxxxxxxxxx ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org