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