[pgpool-committers: 8803] pgpool: Feature: Import PostgreSQL 15 BETA4 new parser.

Bo Peng pengbo at sraoss.co.jp
Thu Sep 22 00:25:44 JST 2022


Feature: Import PostgreSQL 15 BETA4 new parser.

Major changes of PostgreSQL 15 parser include:

- Add new SQL MERGE command

  MERGE INTO ... USING ...

- Add new option HEADER MATCH to COPY FROM

  COPY ... FROM stdin WITH (HEADER MATCH);

- Allow foreign key ON DELETE SET actions

  CREATE TABLE t1 (
      ...
      FOREIGN KEY (c1, c2) REFERENCES t2 ON DELETE SET NULL (c2)
  );

- Allow SET ACCESS METHOD in ALTER TABLE

  ALTER TABLE ... SET ACCESS METHOD ...;

Branch
------
master

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

Modified Files
--------------
src/context/pool_query_context.c                   |    36 +-
src/include/parser/gramparse.h                     |     4 +-
src/include/parser/keywords.h                      |    10 +-
src/include/parser/kwlist.h                        |    14 +-
src/include/parser/kwlist_d.h                      |  1015 +-
src/include/parser/kwlookup.h                      |     4 +-
src/include/parser/makefuncs.h                     |    10 +-
src/include/parser/nodes.h                         |    38 +-
src/include/parser/parsenodes.h                    |   216 +-
src/include/parser/parser.h                        |     8 +-
src/include/parser/pg_class.h                      |    41 +-
src/include/parser/pg_config_manual.h              |    59 +-
src/include/parser/pg_list.h                       |     6 +-
src/include/parser/pg_trigger.h                    |    13 +-
src/include/parser/pg_wchar.h                      |    10 +-
src/include/parser/primnodes.h                     |    61 +-
src/include/parser/scanner.h                       |     4 +-
src/include/parser/scansup.h                       |     4 +-
src/include/parser/stringinfo.h                    |     4 +-
src/include/parser/value.h                         |    99 +-
src/parser/copyfuncs.c                             |   341 +-
src/parser/gram.c                                  | 64209 ++++++++++---------
src/parser/gram.h                                  |  1061 +-
src/parser/gram.y                                  |  3325 +-
src/parser/gram_minimal.c                          | 63590 +++++++++---------
src/parser/gram_minimal.h                          |  1061 +-
src/parser/gram_minimal.y                          |  3322 +-
src/parser/gram_template.y                         |  3331 +-
src/parser/keywords.c                              |     4 +-
src/parser/kwlookup.c                              |     4 +-
src/parser/list.c                                  |   151 +-
src/parser/makefuncs.c                             |    12 +-
src/parser/nodes.c                                 |     4 +-
src/parser/outfuncs.c                              |   461 +-
src/parser/parser.c                                |     4 +-
src/parser/scan.c                                  |   630 +-
src/parser/scan.l                                  |    55 +-
src/parser/scansup.c                               |     4 +-
src/parser/snprintf.c                              |    54 +-
src/parser/stringinfo.c                            |     4 +-
src/parser/value.c                                 |    46 +-
src/parser/wchar.c                                 |   645 +-
src/protocol/pool_process_query.c                  |    10 +-
src/rewrite/pool_timestamp.c                       |    67 +-
.../timestamp/expected/misc.out                    |     4 +-
src/utils/pool_select_walker.c                     |     4 +-
46 files changed, 76635 insertions(+), 67424 deletions(-)



More information about the pgpool-committers mailing list