From: Ben Faga Date: Mon, 28 Apr 2008 14:01:24 +0000 (+0000) Subject: Support uppercase foreign key target-columns. Sent in by Daniel Boehringer X-Git-Tag: v0.11008~314 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=efd0c9ec26d1bb1d530b98f28915a7da33f29f7d;p=dbsrgits%2FSQL-Translator.git Support uppercase foreign key target-columns. Sent in by Daniel Boehringer --- diff --git a/lib/SQL/Translator/Parser/PostgreSQL.pm b/lib/SQL/Translator/Parser/PostgreSQL.pm index 9eafa5e..66cb74b 100644 --- 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'} }