Skip Menu |

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

Report information
The Basics
Id: 2755
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: cpan [...] ali.as
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.22
Fixed in: 1.31



Subject: Bad call to pg_server_version
You've missed adding an explicit DBD::Pg:: to a pg_server_version call. See attached patch file
--- /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBD/Pg.pm.bak 2003-06-08 05:40:22.000000000 +1000 +++ /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBD/Pg.pm 2003-06-08 05:40:42.000000000 +1000 @@ -908,7 +908,7 @@ # by pg_constraint. To maintain compatibility, check # version number and execute appropriate query. - my $version = pg_server_version( $dbh ); + my $version = DBD::Pg::pg_server_version( $dbh ); my $con_query = $version < 7.3 ? "SELECT rcsrc FROM pg_relcheck WHERE rcname = '${table}_$col_name'"