projects
/
dbsrgits/SQL-Translator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
fe9f147
)
Support uppercase foreign key target-columns. Sent in by Daniel Boehringer
Ben Faga [Mon, 28 Apr 2008 14:01:24 +0000 (14:01 +0000)]
lib/SQL/Translator/Parser/PostgreSQL.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Parser/PostgreSQL.pm
b/lib/SQL/Translator/Parser/PostgreSQL.pm
index
9eafa5e
..
66cb74b
100644
(file)
--- a/
lib/SQL/Translator/Parser/PostgreSQL.pm
+++ b/
lib/SQL/Translator/Parser/PostgreSQL.pm
@@
-605,7
+605,8
@@
pg_data_type :
parens_value_list : '(' VALUE(s /,/) ')'
{ $item[2] }
-parens_word_list : '(' WORD(s /,/) ')'
+
+parens_word_list : '(' name_with_opt_quotes(s /,/) ')'
{ $item[2] }
field_size : '(' num_range ')' { $item{'num_range'} }