projects
/
dbsrgits/SQL-Translator-2.0-ish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9406163
)
fix view generation
Justin Hunter [Sat, 20 Feb 2010 23:56:56 +0000 (15:56 -0800)]
lib/SQL/Translator/Parser/DDL/PostgreSQL.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Parser/DDL/PostgreSQL.pm
b/lib/SQL/Translator/Parser/DDL/PostgreSQL.pm
index
95f6cc7
..
f4a29c1
100644
(file)
--- a/
lib/SQL/Translator/Parser/DDL/PostgreSQL.pm
+++ b/
lib/SQL/Translator/Parser/DDL/PostgreSQL.pm
@@
-105,6
+105,7
@@
role SQL::Translator::Parser::DDL::PostgreSQL {
$sql =~ s/\A\s+|\s+\z//g;
my $view = View->new({
name => $vinfo->{view_name},
+ fields => $vinfo->{fields},
sql => $sql,
});