projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
map blob to PG_BYTEA on DBD::Pg
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
Pg.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/Pg.pm
b/lib/DBIx/Class/Storage/DBI/Pg.pm
index
937edfb
..
5fcaa17
100644
(file)
--- 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} ) {