1
Fork 0

make aggregate function names non keywords

This commit is contained in:
Jake Wheat 2016-02-18 20:38:59 +02:00
parent c0b4358d89
commit 64d3b742b4

View file

@ -2167,14 +2167,14 @@ not, leave them unreserved for now
> reservedWord :: Dialect -> [String] > reservedWord :: Dialect -> [String]
> reservedWord d | diSyntaxFlavour d == ANSI2011 = > reservedWord d | diSyntaxFlavour d == ANSI2011 =
> ["abs" > ["abs"
> ,"all" > --,"all"
> ,"allocate" > ,"allocate"
> ,"alter" > ,"alter"
> ,"and" > ,"and"
> ,"any" > --,"any"
> ,"are" > ,"are"
> ,"array" > ,"array"
> ,"array_agg" > --,"array_agg"
> ,"array_max_cardinality" > ,"array_max_cardinality"
> ,"as" > ,"as"
> ,"asensitive" > ,"asensitive"
@ -2182,7 +2182,7 @@ not, leave them unreserved for now
> ,"at" > ,"at"
> ,"atomic" > ,"atomic"
> ,"authorization" > ,"authorization"
> ,"avg" > --,"avg"
> ,"begin" > ,"begin"
> ,"begin_frame" > ,"begin_frame"
> ,"begin_partition" > ,"begin_partition"
@ -2210,7 +2210,7 @@ not, leave them unreserved for now
> ,"close" > ,"close"
> ,"coalesce" > ,"coalesce"
> ,"collate" > ,"collate"
> ,"collect" > --,"collect"
> ,"column" > ,"column"
> ,"commit" > ,"commit"
> ,"condition" > ,"condition"
@ -2218,15 +2218,15 @@ not, leave them unreserved for now
> ,"constraint" > ,"constraint"
> ,"contains" > ,"contains"
> ,"convert" > ,"convert"
> ,"corr" > --,"corr"
> ,"corresponding" > ,"corresponding"
> ,"count" > --,"count"
> ,"covar_pop" > --,"covar_pop"
> ,"covar_samp" > --,"covar_samp"
> ,"create" > ,"create"
> ,"cross" > ,"cross"
> ,"cube" > ,"cube"
> ,"cume_dist" > --,"cume_dist"
> ,"current" > ,"current"
> ,"current_catalog" > ,"current_catalog"
> --,"current_date" > --,"current_date"
@ -2293,7 +2293,7 @@ not, leave them unreserved for now
> ,"global" > ,"global"
> ,"grant" > ,"grant"
> ,"group" > ,"group"
> ,"grouping" > --,"grouping"
> ,"groups" > ,"groups"
> ,"having" > ,"having"
> ,"hold" > ,"hold"
@ -2308,7 +2308,7 @@ not, leave them unreserved for now
> ,"int" > ,"int"
> ,"integer" > ,"integer"
> ,"intersect" > ,"intersect"
> ,"intersection" > --,"intersection"
> ,"interval" > ,"interval"
> ,"into" > ,"into"
> ,"is" > ,"is"
@ -2329,7 +2329,7 @@ not, leave them unreserved for now
> ,"localtimestamp" > ,"localtimestamp"
> ,"lower" > ,"lower"
> ,"match" > ,"match"
> ,"max" > --,"max"
> ,"member" > ,"member"
> ,"merge" > ,"merge"
> ,"method" > ,"method"
@ -2372,9 +2372,9 @@ not, leave them unreserved for now
> ,"parameter" > ,"parameter"
> ,"partition" > ,"partition"
> ,"percent" > ,"percent"
> ,"percent_rank" > --,"percent_rank"
> ,"percentile_cont" > --,"percentile_cont"
> ,"percentile_disc" > --,"percentile_disc"
> ,"period" > ,"period"
> ,"portion" > ,"portion"
> ,"position" > ,"position"
@ -2386,22 +2386,22 @@ not, leave them unreserved for now
> ,"primary" > ,"primary"
> ,"procedure" > ,"procedure"
> ,"range" > ,"range"
> ,"rank" > --,"rank"
> ,"reads" > ,"reads"
> ,"real" > ,"real"
> ,"recursive" > ,"recursive"
> ,"ref" > ,"ref"
> ,"references" > ,"references"
> ,"referencing" > ,"referencing"
> ,"regr_avgx" > --,"regr_avgx"
> ,"regr_avgy" > --,"regr_avgy"
> ,"regr_count" > --,"regr_count"
> ,"regr_intercept" > --,"regr_intercept"
> ,"regr_r2" > --,"regr_r2"
> ,"regr_slope" > --,"regr_slope"
> ,"regr_sxx" > --,"regr_sxx"
> ,"regr_sxy" > --,"regr_sxy"
> ,"regr_syy" > --,"regr_syy"
> ,"release" > ,"release"
> ,"result" > ,"result"
> ,"return" > ,"return"
@ -2424,7 +2424,7 @@ not, leave them unreserved for now
> ,"set" > ,"set"
> ,"similar" > ,"similar"
> ,"smallint" > ,"smallint"
> ,"some" > --,"some"
> ,"specific" > ,"specific"
> ,"specifictype" > ,"specifictype"
> ,"sql" > ,"sql"
@ -2434,13 +2434,13 @@ not, leave them unreserved for now
> ,"sqrt" > ,"sqrt"
> --,"start" > --,"start"
> ,"static" > ,"static"
> ,"stddev_pop" > --,"stddev_pop"
> ,"stddev_samp" > --,"stddev_samp"
> ,"submultiset" > ,"submultiset"
> ,"substring" > ,"substring"
> ,"substring_regex" > ,"substring_regex"
> ,"succeeds" > ,"succeeds"
> ,"sum" > --,"sum"
> ,"symmetric" > ,"symmetric"
> ,"system" > ,"system"
> ,"system_time" > ,"system_time"
@ -2475,8 +2475,8 @@ not, leave them unreserved for now
> --,"value" > --,"value"
> ,"values" > ,"values"
> ,"value_of" > ,"value_of"
> ,"var_pop" > --,"var_pop"
> ,"var_samp" > --,"var_samp"
> ,"varbinary" > ,"varbinary"
> ,"varchar" > ,"varchar"
> ,"varying" > ,"varying"