Subject: | DBD::Pg 3.4.1 - dbh method table_info() fails with postgresql 9.1 |
Date: | Thu, 25 Sep 2014 21:30:00 +0200 |
To: | bug-DBD-Pg [...] rt.cpan.org |
From: | Václav Ovsík <vaclav.ovsik [...] i.cz> |
Hi,
thanks for DBD::Pg beforehand!
My last upgrade of DBD::Pg to version 3.4.1 on Debian (I did the rebuild from
unstable Debian Sid for stable Debian Wheezy) brought some problem with Request
Tracker. I'm preparing upgrade from 3.8.16 do 4.2.7 of Request Tracker and
upgrade process failed. I analyzed down to the following:
zito@rt2:~$ cat pgtableinfo2
#!/usr/bin/perl
use DBI;
$dbh = DBI->connect("dbi:Pg:dbname=zito", '', '', {AutoCommit => 1});
my $sth = $dbh->table_info( '', '', '', "'TABLE'");
zito@rt2:~$ ./pgtableinfo2
DBD::Pg::db table_info failed: ERROR: operator does not exist: text = integer
LINE 34: ) ti WHERE "TABLE_TYPE" IN (1)
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. at ./pgtableinfo2 line 4.
Previous version of DBD::Pg (2.19.3) was not affected.
Cheers
--
Zito