Skip Menu |
 

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 61977
Status: stalled
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: jonh [...] nmgi.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.15.1
Fixed in: (no value)



Subject: set_err() does not work
Download (untitled) / with headers
text/plain 308b
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 :)
Odd - DBD::Pg has no code specific to set_err, so I'm wondering if this isn't a DBI issue.
Download (untitled) / with headers
text/plain 273b
Show quoted text
> $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
:) What exactly would you expect to see? AFAICT, the code is acting as it should.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.