[SOLVED: cdbi-L-pg need fix ] Re: problem after upgrading..

[prev] [thread] [next] [Date index for 2005/05/25]

From: raptor
Subject: [SOLVED: cdbi-L-pg need fix ] Re: problem after upgrading..
Date: 22:37 on 25 May 2005
After some testng and browsing the code.....seems that..
Class::DBI::Loader::Pg needs updating :

sub _tables {
    my $self = shift;
    my $dbh = DBI->connect( @{ $self->{_datasource} } ) or croak($DBI::errstr);
    my @tables;
    if ( $DBD::Pg::VERSION >= 1.31 ) {
        return $dbh->tables( undef, "public", "", "table", { noprefix => 1 } );# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    }
    else { return $dbh->tables }
}

Instead "noprefix" it should be "pg_noprefix" (or at least this is what  DBD::Pg ver 1.41 uses)
Hm as I'm writing this.....there was some problems accessing CPAN...
... now it show up and I see the new ver .20 of Class::DBI::Loader::Pg has corrected this...but for some reason 

g-cpan.pl Class::DBI::Loader::Pg

(Gentoo way to make perl modules a normal package, so that u can safely merge/unmerge and track depencities)

think there is no newer version of it..... so
 perl -MCPAN -e 'install Class::DBI::Loader::Pg'
solved the problem... :"))




problem after upgrading..
raptor 22:53 on 24 May 2005

Re: problem after upgrading..
raptor 23:08 on 24 May 2005

[SOLVED: cdbi-L-pg need fix ] Re: problem after upgrading..
raptor 22:37 on 25 May 2005

Generated at 20:11 on 05 Jun 2005 by mariachi v0.52