Skip to content

Commit

Permalink
oops, DBD::Pg 2.15.1 should be included in working versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Sep 4, 2009
1 parent 96e1048 commit fec2968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DBIx/Class/Storage/DBI/Pg.pm
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ sub _dbh_get_autoinc_seq {

# use DBD::Pg to fetch the column info if it is recent enough to
# work. otherwise, use custom SQL
my $seq_expr = $DBD::Pg::VERSION > 2.015001
my $seq_expr = $DBD::Pg::VERSION >= 2.015001
? eval{ $dbh->column_info(undef,$schema,$table,$col)->fetchrow_hashref->{COLUMN_DEF} }
: $self->_dbh_get_column_default( $dbh, $schema, $table, $col );

Expand Down

0 comments on commit fec2968

Please sign in to comment.