diff --git a/src/constants.ts b/src/constants.ts index 8078794..bfdfa42 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -6,6 +6,8 @@ export default [ "day", "days", "decade", + "delta_binary_packed", + "delta_length_byte_array", "desc", "dow", "doy", @@ -42,11 +44,13 @@ export default [ "none", "null", "parquet", + "plain", "pgwire", "prepare", "prev", "quarter", "rest", + "rle_dictionary", "second", "seconds", "skip_column", diff --git a/src/functions.ts b/src/functions.ts index 635d3e5..c9a3f0e 100644 --- a/src/functions.ts +++ b/src/functions.ts @@ -9,34 +9,38 @@ export default [ "acos", "all_permissions", "all_tables", + "and", + "approx_count_distinct", + "approx_median", + "approx_percentile", + "arg_max", + "arg_min", + "array_agg", "array_avg", + "array_build", "array_count", "array_cum_sum", "array_max", "array_min", "array_position", + "array_reverse", + "array_sort", "array_stddev", "array_stddev_pop", "array_stddev_samp", "array_sum", - "and", - "approx_median", - "approx_count_distinct", - "approx_percentile", - "arg_max", - "arg_min", "asin", "atan", "atan2", "avg", "base64", "batch", + "between", "bit_and", "bit_or", "bit_xor", "bool_and", "bool_or", - "between", "build", "case", "cast", @@ -48,14 +52,14 @@ export default [ "corr", "cos", "cot", - "covar_pop", - "covar_samp", "count", "count_distinct", + "covar_pop", + "covar_samp", + "current_catalog", "current_database", "current_schema", "current_schemas", - "current_catalog", "current_setting", "current_user", "date_trunc", @@ -100,11 +104,11 @@ export default [ "import_files", "in", "information_schema._pg_expandarray", + "insertion_point", "interval_end", "interval_start", - "insertion_point", - "isOrdered", "is_leap_year", + "isOrdered", "isnull", "json_extract", "keywords", @@ -248,12 +252,12 @@ export default [ "server_conf", "server_version", "session_user", - "shift", "sha1", "sha256", + "shift", "show", - "simulate_crash", "sign", + "simulate_crash", "sin", "size_pretty", "split_part", @@ -310,6 +314,7 @@ export default [ "variance", "version", "views", + "vwap", "wal_tables", "wal_transactions", "week_of_year", @@ -322,7 +327,6 @@ export default [ "within_radius", "wmid", "writer_pool", - "vwap", "year", "yesterday", ] diff --git a/src/keywords.ts b/src/keywords.ts index effa997..3d9a126 100644 --- a/src/keywords.ts +++ b/src/keywords.ts @@ -10,6 +10,7 @@ export default [ "and", "any", "as", + "asc", "asof", "assume", "attach", @@ -18,38 +19,42 @@ export default [ "base", "batch", "between", + "bloom_filter", "by", "bypass", "cache", "calendar", + "cancel", "capacity", "cascade", "case", "cast", - "cancel", "checkpoint", "column", "columns", + "complete", "compile", "compression_codec", "compression_level", + "commitLag", "convert", "copy", "create", "cross", "cumulative", "current", - "dedup", "data_page_size", "database", "declare", - "deferred", - "detach", - "details", + "dedup", "default", + "deferred", "delay", "delete", "delimiter", + "desc", + "detach", + "details", "disable", "distinct", "drop", @@ -67,10 +72,10 @@ export default [ "external", "fill", "first", + "following", "for", - "format", "foreign", - "following", + "format", "from", "full", "grant", @@ -78,9 +83,12 @@ export default [ "groups", "header", "horizon", - "http", + "http", "if", "ignore", + "ilike", + "ilp", + "immediate", "in", "include", "index", @@ -88,23 +96,34 @@ export default [ "insert", "intersect", "into", + "is", "isolation", "join", + "jwk", + "keep", "key", "keys", "latest", + "lateral", "left", "length", "level", + "like", "limit", "list", "lock", "lt", + "manual", + "maps", "materialized", + "maxUncommittedRows", + "nan", "natural", "no", "nocache", + "none", "not", + "null", "nulls", "o3MaxLag", "observation", @@ -114,52 +133,59 @@ export default [ "option", "or", "order", + "ordinality", "others", "outer", - "overridable", "over", + "overridable", "owned", "param", "parameters", "parquet_version", + "partition_by", "partition", "partitions", "password", "period", "permissions", + "pgwire", "pivot", "preceding", + "prepare", "prevailing", "primary", "public", + "query", "range", + "raw_array_encoding", "references", "refresh", + "release", "reindex", "remove", "rename", "repair", "replace", "respect", + "rest", "resume", "revoke", "right", - "range", - "row_group_size", "row", + "row_group_size", "rows", "sample", "select", - "set", "service", + "set", "show", "skip", "snapshot", "splice", "squash", "start", - "statistics_enabled", "step", + "statistics_enabled", "suspend", "system", "table", @@ -167,10 +193,10 @@ export default [ "then", "time", "to", - "tolerance", "token", - "transient", + "tolerance", "transaction", + "transient", "truncate", "ttl", "txn", @@ -178,11 +204,12 @@ export default [ "unbounded", "union", "unlock", + "unnest", "unpivot", "update", + "upsert", "user", "users", - "upsert", "vacuum", "values", "verification", @@ -193,6 +220,7 @@ export default [ "where", "window", "with", + "within", "writer", "zone", ]