projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b1d16ff
)
map blob to PG_BYTEA on DBD::Pg
Yuval Kogman [Mon, 22 Dec 2008 16:43:50 +0000 (16:43 +0000)]
lib/DBIx/Class/Storage/DBI/Pg.pm
patch
|
blob
|
blame
|
history
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} ) {