From: Yuval Kogman Date: Mon, 22 Dec 2008 16:43:50 +0000 (+0000) Subject: map blob to PG_BYTEA on DBD::Pg X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5ba88f68163af041500139dcf154f6d276cbba68;p=dbsrgits%2FDBIx-Class-Historic.git map blob to PG_BYTEA on DBD::Pg --- diff --git a/lib/DBIx/Class/Storage/DBI/Pg.pm b/lib/DBIx/Class/Storage/DBI/Pg.pm index 937edfb..5fcaa17 100644 --- a/lib/DBIx/Class/Storage/DBI/Pg.pm +++ b/lib/DBIx/Class/Storage/DBI/Pg.pm @@ -70,6 +70,7 @@ sub bind_attribute_by_data_type { my $bind_attributes = { bytea => { pg_type => DBD::Pg::PG_BYTEA }, + blob => { pg_type => DBD::Pg::PG_BYTEA }, }; if( defined $bind_attributes->{$data_type} ) {