Subject: | set_err() does not work |
The problem can be easily duplicated with this simple script:
#!/usr/bin/perl
use DBI;
my $dbh = DBI->connect("dbi:Pg:dbname=foo");
$dbh->set_err(1,"foo bar baz");
Output:
DBD::Pg::db set_err failed: foo bar baz at ./test line 4.
At minimum, an error message more detailed than "failed" would be handy :)