Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: josh [...] lavendergreens.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.31
Fixed in: 1.32



Subject: ->get_info( 29 ) is improperly set to \" instead of "
->get_info( 29 ) is improperly set to \" instead of ". This breaks all SQL generating software that use the DBI method $dbh->quote_identifier().
--- DBD-Pg-1.31a/Pg.pm 2003-11-17 15:22:25.000000000 -0600 +++ DBD-Pg-1.31b/Pg.pm 2004-01-04 20:11:22.000000000 -0600 @@ -992,7 +992,7 @@ 6 => ["SQL_DRIVER_NAME", 'DBD/Pg.pm', ], 17 => ["SQL_DBMS_NAME", 'PostgreSQL' ], 18 => ["SQL_DBMS_VERSION", 'ODBCVERSION' ], - 29 => ["SQL_IDENTIFIER_QUOTE_CHAR", '\"' ], + 29 => ["SQL_IDENTIFIER_QUOTE_CHAR", '"' ], 41 => ["SQL_CATALOG_NAME_SEPARATOR", '' ], 47 => ["SQL_USER_NAME", $dbh->{CURRENT_USER} ],