[pgpool-committers: 5919] pgpool: Feature: Import PostgreSQL 12 beta2 new parser.

Bo Peng pengbo at sraoss.co.jp
Wed Jul 24 21:13:50 JST 2019


Feature: Import PostgreSQL 12 beta2 new parser.

The attached patch imports PostgreSQL12 beta2 parser to Pgpool-II 4.1.

Major chanegs of PostgreSQL 12 parser include:

- Add new VACUUM options:
  -- SKIP_LOCKED
  -- INDEX_CLEANUP
  -- TRUNCATE
- Add COMMIT AND CHAIN and ROLLBACK AND CHAIN commands
- Add a WHERE clause to COPY FROM
- Allow to use CREATE OR REPLACE AGGREGATE command
- Allow to use mcv (most-common-value) in CREATE STATISTICS
- ADD REINDEX option CONCURRENTLY
- Add EXPLAIN option SETTINGS
- etc.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=f694283cfd55a52750ce56697af2e5cd1d1da571

Modified Files
--------------
src/include/parser/gramparse.h                     |     9 +-
src/include/parser/keywords.h                      |    31 +-
src/include/parser/kwlist.h                        |    11 +-
src/include/parser/kwlist_d.h                      |  1057 +
src/include/parser/kwlookup.h                      |    47 +
src/include/parser/makefuncs.h                     |    52 +-
src/include/parser/nodes.h                         |    27 +-
src/include/parser/parsenodes.h                    |   152 +-
src/include/parser/parser.h                        |     4 +-
src/include/parser/pg_class.h                      |   152 +-
src/include/parser/pg_config_manual.h              |    19 +-
src/include/parser/pg_list.h                       |    30 +-
src/include/parser/pg_trigger.h                    |     5 +-
src/include/parser/pg_wchar.h                      |    70 +-
src/include/parser/primnodes.h                     |    80 +-
src/include/parser/scanner.h                       |    23 +-
src/include/parser/scansup.h                       |     8 +-
src/include/parser/stringinfo.h                    |     8 +-
src/include/parser/value.h                         |     4 +-
src/include/protocol/protocol_defs.h               |    12 +-
src/parser/Makefile.am                             |     1 +
src/parser/Makefile.in                             |    17 +-
src/parser/copyfuncs.c                             |    63 +-
src/parser/gram.c                                  | 54644 ++++++++++---------
src/parser/gram.h                                  |   354 +-
src/parser/gram.y                                  |   528 +-
src/parser/keywords.c                              |    99 +-
src/parser/kwlookup.c                              |    86 +
src/parser/list.c                                  |    11 +-
src/parser/makefuncs.c                             |     5 +-
src/parser/nodes.c                                 |     4 +-
src/parser/outfuncs.c                              |    58 +-
src/parser/parser.c                                |     7 +-
src/parser/scan.c                                  |   913 +-
src/parser/scan.l                                  |   152 +-
src/parser/scansup.c                               |     4 +-
src/parser/snprintf.c                              |  1083 +-
src/parser/stringinfo.c                            |    11 +-
src/parser/value.c                                 |     4 +-
src/parser/wchar.c                                 |    32 +-
src/protocol/pool_process_query.c                  |    12 +-
src/rewrite/pool_timestamp.c                       |    75 +-
.../tests/010.rewrite_timestamp/timestamp/main.c   |    13 +
43 files changed, 31194 insertions(+), 28783 deletions(-)



More information about the pgpool-committers mailing list