projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
34896b5
)
fix for size on pg timestamps/intervals when there shouldn't be, hopefully
Rafael Kitover [Fri, 22 Jan 2010 03:34:57 +0000 (
03:34
+0000)]
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
index
80cc8d6
..
a1042b1
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
+++ b/
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
@@
-147,7
+147,7
@@
FROM information_schema.columns
WHERE table_name = ? and column_name = ?
EOF
- if ((not $precision) || $precision !~ /^\d/) {
+ if ((not $precision) || $precision !~ /^\d/ || $precision == 6) {
delete $result->{$col}{size};
}
else {