Commits

Christophe Chauvet committed 378d361

[ADD] Add new keyword used by SET command

Comments (0)

Files changed (1)

postgresql_lexer/__init__.py

              r'TIME|TIMESTAMP|VARCHAR|XML)\b',Name.Builtin),
         ],
         'variables': [
-        (r'client_encoding|standard_conforming_strings|plpgsql', Keyword.Pseudo),
+        (r'client_encoding|standard_conforming_strings|plpgsql',
+         r'add_missing_from|array_nulls|backslash_quote|check_function_bodies',
+         r'client_min_messages|commit_delay|commit_siblings|constraint_exclusion',
+         r'cpu_index_tuple_cost|cpu_operator_cost|cpu_tuple_cost|cursor_tuple_fraction',
+         r'DateStyle|debug_assertions|debug_pretty_print|debug_print_parse',
+         r'debug_print_plan|debug_print_rewritten|default_statistics_target',
+         r'default_tablespace|default_text_search_config|default_transaction_isolation',
+         r'default_transaction_read_only|default_with_oids|effective_cache_size',
+         r'effective_io_concurrency|enable_bitmapscan|enable_hashagg',
+         r'enable_hashjoin|enable_indexscan|enable_mergejoin|enable_nestloop',
+         r'enable_seqscan|enable_sort|enable_tidscan|escape_string_warning',
+         r'extra_float_digits|from_collapse_limit|geqo|geqo_effort|geqo_generations',
+         r'geqo_pool_size|geqo_selection_bias|geqo_threshold|gin_fuzzy_search_limit',
+         r'IntervalStyle|join_collapse_limit|lc_monetary|lc_numeric|lc_time',
+         r'maintenance_work_mem|password_encryption|random_page_cost|regex_flavor',
+         r'search_path|seq_page_cost|sql_inheritance|ssl_renegotiation_limit',
+         r'statement_timeout|synchronize_seqscans',
+         r'synchronous_commit|tcp_keepalives_count|tcp_keepalives_idle',
+         r'tcp_keepalives_interval|temp_buffers|temp_tablespaces|TimeZone',
+         r'timezone_abbreviations|trace_notify|trace_sort|transaction_isolation',
+         r'transaction_read_only|transform_null_equals|vacuum_cost_delay',
+         r'vacuum_cost_limit|vacuum_cost_page_dirty|vacuum_cost_page_hit',
+         'vacuum_cost_page_miss|vacuum_freeze_min_age|vacuum_freeze_table_age',
+         r'work_mem|xmlbinary|xmloption', Keyword.Pseudo),
         ],
         'functions': [
             (r'(ABS|CBRT|CEIL|CEILING|DEGREES|DIV|EXP|FLOOR|LN|'